View | Details | Raw Unified | Return to bug 2394
Collapse All | Expand All

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 500-506 sub CanItemBeReserved{ Link Here
500
    if ( C4::Context->preference('IndependantBranches')
500
    if ( C4::Context->preference('IndependantBranches')
501
        and !C4::Context->preference('canreservefromotherbranches') )
501
        and !C4::Context->preference('canreservefromotherbranches') )
502
    {
502
    {
503
        my $itembranch = $item->{holdingbranch} // $item->{homebranch};
503
        my $itembranch = $item->{homebranch};
504
        if ($itembranch ne $borrower->{branchcode}) {
504
        if ($itembranch ne $borrower->{branchcode}) {
505
            return 0;
505
            return 0;
506
        }
506
        }
507
- 

Return to bug 2394