]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 23 Sep 2014 20:51:25 +0000 (20:51 +0000)
commit92b0d001da517f858e8d78fc6b6b335744f2c866
tree315728fbf538a0cf24067a2e0cf1fbc204cd9a4b
parent0a1c90084e9978c8f51c7d58d3383fd44ab2a8ef
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>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
tools/batchMod.pl