[Koha-bugs] [Bug 23084] Replace grep {^$var$} with grep {$var eq $_}
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 11:56:41 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23084
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #98707|0 |1
is obsolete| |
--- Comment #19 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 98926
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98926&action=edit
Bug 23084: Replace grep {^$var$} with grep {$_ eq $var}
We certainly faced 3 similar bugs due to this syntax: bug 23006, bug
22941 and bug 17526.
To prevent other issues related to this syntax this patch suggests to
replace them all in one go.
Test plan:
Confirm that the 2 syntaxes are similar
Eyeball the patch and confirm that there is no typo!
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Looks correct, no errors.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list