From b196fcb0b6161e342cb121e15921a4b6440ffba3 Mon Sep 17 00:00:00 2001 From: Blou Date: Mon, 2 Nov 2020 14:24:50 -0500 Subject: [PATCH] Bug 26900: Fixes Koka::Libraries typo in C4/Reserves.pm Plain simple: my $home_library = Koka::Libraries->find( {branchcode => $item->homebranch} ); This patch replaces 'Koka' by 'Koha'. Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 0a38aa389e..8b7fafd8cf 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1315,7 +1315,7 @@ sub IsAvailableForItemLevelRequest { GetReservesControlBranch( $item->unblessed(), $patron->unblessed() ); my $branchitemrule = C4::Circulation::GetBranchItemRule( $reserves_control_branch, $item->itype ); - my $home_library = Koka::Libraries->find( {branchcode => $item->homebranch} ); + my $home_library = Koha::Libraries->find( {branchcode => $item->homebranch} ); return 0 unless $branchitemrule->{hold_fulfillment_policy} ne 'holdgroup' || $home_library->validate_hold_sibling( {branchcode => $pickup_branchcode} ); } -- 2.11.0