From 3dee550e346d8a998335eb7ce77b4a064a1d129a 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 Signed-off-by: Jonathan Druart --- 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.39.5