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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 581-587 sub CanItemBeReserved { Link Here
581
    if ( C4::Context->preference('IndependentBranches')
581
    if ( C4::Context->preference('IndependentBranches')
582
        and !C4::Context->preference('canreservefromotherbranches') )
582
        and !C4::Context->preference('canreservefromotherbranches') )
583
    {
583
    {
584
        my $itembranch = $item->{homebranch};
584
        my $itembranch = $item->homebranch;
585
        if ( $itembranch ne $borrower->{branchcode} ) {
585
        if ( $itembranch ne $borrower->{branchcode} ) {
586
            return 'cannotReserveFromOtherBranches';
586
            return 'cannotReserveFromOtherBranches';
587
        }
587
        }
588
- 

Return to bug 18150