https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28483
--- Comment #6 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> --- (In reply to Nick Clemens from comment #5) > (In reply to Marcel de Rooy from comment #3) > > When seeing this, I wonder right away why not the other one? > > > > - my $query = $operands[0]; > > + my $query = $operands[0] // ""; > > my $simple_query = $operands[0]; > > > > And looking a bit later, I see: > > for ($query_cgi,$simple_query) { > > s/"//g; > > } > > Shouldnt this trigger a warn too when undefined? > > The code sets it undef later, and simple_query is not used between the two > places Hmm. Not important but I do not see that it is set to undef later, and if it is, then it will surely trigger the uninitialized warn that we want to resolve. If it is not set, then it depends on $operands[0] -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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/