From 384b008d4cea8ae262da7950a3dbfb8e4a54d34c 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 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 2192557..78a8160 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -524,7 +524,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