https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16007
--- Comment #8 from M. Tompsett <mtomp...@hotmail.com> --- Comment on attachment 49401 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49401 Bug 16007: Adding back column 'letternumber' to table 'overduerules_transport_types' Review of attachment 49401: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=16007&attachment=49401) ----------------------------------------------------------------- ::: installer/data/mysql/atomicupdate/Bug_16007_adding_column_letternumber_back_into_table_overduerules_transport_types.perl @@ +23,5 @@ > + { > + $letternumberExists = 1; > + last; > + } > + } While this would work. Why not use grep? my @letternumber = grep { $_ eq 'letternumber' } @data; if (@letternumber) { print "EXISTS!\n"; } else { print "DIDN'T FIND!\n"; } http://perldoc.perl.org/functions/grep.html -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/