From 00d2b1aae634f7093c614274bc8fe0b7f2163595 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 8 Oct 2020 17:48:22 +0000 Subject: [PATCH] Bug 26529: (follow-up) Remove other instance of blanking holdallowed from script Signed-off-by: Jonathan Druart --- admin/smart-rules.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl index a2e9b41cd8..bdae9b5c27 100755 --- a/admin/smart-rules.pl +++ b/admin/smart-rules.pl @@ -463,9 +463,6 @@ elsif ($op eq "add-branch-item") { my $hold_fulfillment_policy = $input->param('hold_fulfillment_policy'); my $returnbranch = $input->param('returnbranch'); - $holdallowed =~ s/\s//g; - $holdallowed = undef if $holdallowed !~ /^\d+/; - if ($branch eq "*") { if ($itemtype eq "*") { Koha::CirculationRules->set_rules( -- 2.39.5