[Koha-bugs] [Bug 28483] Warnings from Search.t must be removed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 23 16:55:22 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28483

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
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?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list