From 16ade830b121578dbd028db4cc0a664e77ed0d3c 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: Roch D'Amour --- tools/batchMod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 5f54076..62716da 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -315,7 +315,7 @@ my $pref_itemcallnumber = C4::Context->preference('itemcallnumber'); my $subfieldsToAllowForBatchmod = C4::Context->preference('SubfieldsToAllowForRestrictedBatchmod'); my $allowAllSubfields = ( not defined $subfieldsToAllowForBatchmod - or $subfieldsToAllowForBatchmod == q|| + or $subfieldsToAllowForBatchmod ne q|| ) ? 1 : 0; my @subfieldsToAllow = split(/ /, $subfieldsToAllowForBatchmod); -- 2.7.4