@@ -, +, @@ - Checkout an item with items.notforloan = 0 - Checkout an item with items.notforloan > 0 - Checkout an item with items.notforloan < 0 (e.g., on order) --- C4/Circulation.pm | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -828,8 +828,7 @@ sub CanBookBeIssued { # # ITEM CHECKING # - if ( $item->{'notforloan'} - && $item->{'notforloan'} > 0 ) + if ( $item->{'notforloan'} ) { if(!C4::Context->preference("AllowNotForLoanOverride")){ $issuingimpossible{NOT_FOR_LOAN} = 1; @@ -837,7 +836,7 @@ sub CanBookBeIssued { $needsconfirmation{NOT_FOR_LOAN_FORCING} = 1; } } - elsif ( !$item->{'notforloan'} ){ + else { # we have to check itemtypes.notforloan also if (C4::Context->preference('item-level_itypes')){ # this should probably be a subroutine --