diff --git a/C4/Reserves.pm b/C4/Reserves.pm index c078af1088..8c4175d58b 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -581,7 +581,7 @@ sub CanItemBeReserved { if ( C4::Context->preference('IndependentBranches') and !C4::Context->preference('canreservefromotherbranches') ) { - my $itembranch = $item->{homebranch}; + my $itembranch = $item->homebranch; if ( $itembranch ne $borrower->{branchcode} ) { return 'cannotReserveFromOtherBranches'; }