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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 917-923 sub CanBookBeIssued { Link Here
917
        if (C4::Context->preference('item-level_itypes')){
917
        if (C4::Context->preference('item-level_itypes')){
918
            # this should probably be a subroutine
918
            # this should probably be a subroutine
919
            my $sth = $dbh->prepare("SELECT notforloan FROM itemtypes WHERE itemtype = ?");
919
            my $sth = $dbh->prepare("SELECT notforloan FROM itemtypes WHERE itemtype = ?");
920
            $sth->execute($item->{'itemtype'});
920
            $sth->execute($effective_itemtype);
921
            my $notforloan=$sth->fetchrow_hashref();
921
            my $notforloan=$sth->fetchrow_hashref();
922
            if ($notforloan->{'notforloan'}) {
922
            if ($notforloan->{'notforloan'}) {
923
                if (!C4::Context->preference("AllowNotForLoanOverride")) {
923
                if (!C4::Context->preference("AllowNotForLoanOverride")) {
924
- 

Return to bug 20889