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

(-)a/opac/sco/sco-main.pl (-10 / +7 lines)
Lines 137-151 elsif ( $op eq "returnbook" && $allowselfcheckreturns ) { Link Here
137
elsif ( $op eq "checkout" ) {
137
elsif ( $op eq "checkout" ) {
138
    my $impossible  = {};
138
    my $impossible  = {};
139
    my $needconfirm = {};
139
    my $needconfirm = {};
140
    if ( !$confirmed ) {
140
    ( $impossible, $needconfirm ) = CanBookBeIssued(
141
        ( $impossible, $needconfirm ) = CanBookBeIssued(
141
        $borrower,
142
            $borrower,
142
        $barcode,
143
            $barcode,
143
        undef,
144
            undef,
144
        0,
145
            0,
145
        C4::Context->preference("AllowItemsOnHoldCheckoutSCO")
146
            C4::Context->preference("AllowItemsOnHoldCheckoutSCO")
146
    );
147
        );
148
    }
149
    $confirm_required = scalar keys %$needconfirm;
147
    $confirm_required = scalar keys %$needconfirm;
150
148
151
    #warn "confirm_required: " . $confirm_required ;
149
    #warn "confirm_required: " . $confirm_required ;
152
- 

Return to bug 18349