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

(-)a/C4/Circulation.pm (-4 / +2 lines)
Lines 828-835 sub CanBookBeIssued { Link Here
828
    #
828
    #
829
    # ITEM CHECKING
829
    # ITEM CHECKING
830
    #
830
    #
831
    if (   $item->{'notforloan'}
831
    if ( $item->{'notforloan'} )
832
        && $item->{'notforloan'} > 0 )
833
    {
832
    {
834
        if(!C4::Context->preference("AllowNotForLoanOverride")){
833
        if(!C4::Context->preference("AllowNotForLoanOverride")){
835
            $issuingimpossible{NOT_FOR_LOAN} = 1;
834
            $issuingimpossible{NOT_FOR_LOAN} = 1;
Lines 837-843 sub CanBookBeIssued { Link Here
837
            $needsconfirmation{NOT_FOR_LOAN_FORCING} = 1;
836
            $needsconfirmation{NOT_FOR_LOAN_FORCING} = 1;
838
        }
837
        }
839
    }
838
    }
840
    elsif ( !$item->{'notforloan'} ){
839
    else {
841
        # we have to check itemtypes.notforloan also
840
        # we have to check itemtypes.notforloan also
842
        if (C4::Context->preference('item-level_itypes')){
841
        if (C4::Context->preference('item-level_itypes')){
843
            # this should probably be a subroutine
842
            # this should probably be a subroutine
844
- 

Return to bug 9392