From 7b22117c8d87f382212fa4644f1455582b1245ef Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 27 Mar 2024 14:26:20 +0100 Subject: [PATCH] Bug 22562: (follow-up) fix 22.11 --- C4/Reserves.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 05936e04166..e418fcaadaf 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -500,7 +500,7 @@ sub CanItemBeReserved { } elsif ( $controlbranch eq "ItemHoldingLibrary" ) { $branchfield = "items.holdingbranch"; - $branchcode = $item->holdingbranch; + $reserves_control_branch = $item->holdingbranch; } elsif ( $controlbranch eq "PatronLibrary" ) { $branchfield = "borrowers.branchcode"; -- 2.45.1