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

(-)a/C4/SIP/ILS.pm (-1 / +2 lines)
Lines 219-224 sub checkin { Link Here
219
    if( !$circ->ok && $circ->alert_type && $circ->alert_type == 98 ) { # data corruption
219
    if( !$circ->ok && $circ->alert_type && $circ->alert_type == 98 ) { # data corruption
220
        $circ->screen_msg("Checkin failed: data problem");
220
        $circ->screen_msg("Checkin failed: data problem");
221
        syslog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" );
221
        syslog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" );
222
    } elsif( !$circ->ok && $circ->alert_type && $circ->alert_type == 99 ) { # withdrawn cannot be returned
223
        $circ->screen_msg("Checkin failed: item withdrawn");
222
    } elsif( !$item->{patron} ) {
224
    } elsif( !$item->{patron} ) {
223
        if( $checked_in_ok ) { # Mark checkin ok although book not checked out
225
        if( $checked_in_ok ) { # Mark checkin ok although book not checked out
224
            $circ->ok( 1 );
226
            $circ->ok( 1 );
225
- 

Return to bug 21745