From 0fdf3cb9a8081a7f19cdecda713758dccb8fd444 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 9 Aug 2013 10:30:06 -0400 Subject: [PATCH] Bug 10314 - CanItemBeReserved does not respect the holds policies - Followup - QA Bugfix --- C4/Reserves.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 048bf39..5ded6c3 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -453,7 +453,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.2.5