From c5641af82a0ac943bea6439a87c5b9b619bf45cf Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 24 Sep 2018 12:56:07 -0300 Subject: [PATCH] Bug 15486: (follow-up) Default to unlimited MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit While it doesn't have a practical effect (the variable is reset several lines below) I agree this should be explicitly set to its default. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Séverine QUEUNE Signed-off-by: Séverine QUEUNE Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 3c3e15831e..78e8f6a360 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -314,7 +314,7 @@ sub CanItemBeReserved { my $ruleitemtype; # itemtype of the matching issuing rule my $allowedreserves = 0; # Total number of holds allowed across all records my $holds_per_record = 1; # Total number of holds allowed for this one given record - my $holds_per_day = 0; # Total number of holds allowed per day for the given patron + my $holds_per_day; # Default to unlimited # we retrieve borrowers and items informations # # item->{itype} will come for biblioitems if necessery -- 2.39.5