From 42b697b1524885bfef2042b56e5033509236a078 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 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 --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 5b97a298c5..19f8dd7046 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -313,7 +313,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.19.0