[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 17:08:53 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23084
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #98960|0 |1
is obsolete| |
--- Comment #25 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 98968
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98968&action=edit
j# Attachment to Bug 23084 - Replace grep {^$var$} with grep {$var eq $_}
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.
Rebased.
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list