From 90070d6df1849fc3b14d9eaeb98992182b83cc82 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 --- 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.11.0