From cb82bceded785324cae37ac2d6436c530e834297 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 9 Aug 2013 10:30:06 -0400 Subject: [PATCH] [PASSED QA] Bug 10314 - CanItemBeReserved does not respect the holds policies - Followup - QA Bugfix Signed-off-by: Katrin Fischer Passes all tests and QA script. Note: Unit tests to ensure the fix has the desired effect and behaviour is not accidentally changed in the future should be added. --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 669d3c5..523e567 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -454,7 +454,7 @@ sub CanItemBeReserved { # maximum number of holds allowed for this itemtype, # we need to check to see if *any* holds are allowed # for this patron/itemtype as determined by the holds policy - my $holds_policy = GetBranchItemRule( + my $holds_policy = C4::Circulation::GetBranchItemRule( $controlbranch eq "ItemHomeLibrary" ? $item->{homebranch} : $borrower->{branchcode}, -- 1.7.9.5