]> git.koha-community.org Git - koha.git/commit
Bug 12151: Remove use of smartmatch operator in tools/batchMod.pl
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 2 Jun 2014 14:30:48 +0000 (11:30 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 7 Jul 2014 13:16:54 +0000 (10:16 -0300)
commit5cfb693a826c8497cfb7c1608ff02530c29f7e7d
treefba8278779efb6b4dcc381e344316e1ae79f5db4
parent82e8a7a155807f50edae4e5f2b46791479c9b92d
Bug 12151: Remove use of smartmatch operator in tools/batchMod.pl

The '~~' smartmatch operator is used to compare MARC::Field->subfield(code)
(i.e. a string) and the text element of each MARC::Field->subfields() which
is also plain text.

Substituting '~~' for 'eq' should be harmless then.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes QA script and tests.
Tested batch modification of items, no problems found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
tools/batchMod.pl