From 23aa9866124064cbea8d52c1ec8f72089b4e8626 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 27 Feb 2018 13:37:53 -0300 Subject: [PATCH] Bug 20305: Remove warnings from tools scripts Signed-off-by: Julian Maurice Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- tools/batchMod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 192deb965d..f24b2f6987 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -316,7 +316,7 @@ my $pref_itemcallnumber = C4::Context->preference('itemcallnumber'); my $subfieldsToAllowForBatchmod = C4::Context->preference('SubfieldsToAllowForRestrictedBatchmod'); my $allowAllSubfields = ( not defined $subfieldsToAllowForBatchmod - or $subfieldsToAllowForBatchmod == q|| + or $subfieldsToAllowForBatchmod eq q|| ) ? 1 : 0; my @subfieldsToAllow = split(/ /, $subfieldsToAllowForBatchmod); -- 2.39.5