From 4778c41a32e75ce941e88ca342dad1f19c80b01d 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 --- tools/batchMod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 5f540766f6..62716dafe0 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.11.0