]> git.koha-community.org Git - koha.git/commit
Bug 23084: Replace grep {^$var$} with grep {$_ eq $var}
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 20 Jun 2019 01:54:40 +0000 (20:54 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Feb 2020 10:44:45 +0000 (10:44 +0000)
commit82716a01727f143ba2c167cd86233a531f330390
tree2741fdaa33009eef8f6284b50d86ddd1368d2021
parent8aec7aa5fa7e5c2e7921cf9e0e8ec06961fa80af
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@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
41 files changed:
C4/Acquisition.pm
C4/ImportBatch.pm
C4/Items.pm
C4/Members/Statistics.pm
C4/OAI/Sets.pm
C4/Overdues.pm
C4/Search.pm
C4/Serials.pm
C4/Stats.pm
C4/Tags.pm
C4/Utils/DataTables/Members.pm
Koha/Object.pm
Koha/Objects.pm
acqui/duplicate_orders.pl
admin/preferences.pl
admin/searchengine/elasticsearch/mappings.pl
catalogue/ISBDdetail.pl
catalogue/MARCdetail.pl
catalogue/detail.pl
catalogue/imageviewer.pl
catalogue/itemsearch.pl
catalogue/labeledMARCdetail.pl
catalogue/moredetail.pl
circ/circulation.pl
clubs/templates-add-modify.pl
misc/cronjobs/gather_print_notices.pl
misc/cronjobs/longoverdue.pl
misc/migration_tools/rebuild_zebra.pl
misc/translator/LangInstaller.pm
misc/translator/translate
opac/opac-detail.pl
opac/opac-memberentry.pl
opac/opac-reserve.pl
opac/opac-search-history.pl
opac/opac-search.pl
opac/opac-shelves.pl
reports/borrowers_stats.pl
tools/export.pl
tools/letter.pl
tools/modborrowers.pl
virtualshelves/shelves.pl