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

(-)a/C4/SIP/ILS.pm (-1 / +2 lines)
Lines 195-203 sub checkin { Link Here
195
    # It's ok to check it in if it exists, and if it was checked out
195
    # It's ok to check it in if it exists, and if it was checked out
196
    # or it was not checked out but the checked_in_ok flag was set
196
    # or it was not checked out but the checked_in_ok flag was set
197
    $circ->ok( ( $checked_in_ok && $item ) || ( $item && $item->{patron} ) );
197
    $circ->ok( ( $checked_in_ok && $item ) || ( $item && $item->{patron} ) );
198
    syslog("LOG_DEBUG", "C4::SIP::ILS::checkin - using checked_in_ok") if $checked_in_ok;
198
199
199
    if ( !defined( $item->{patron} ) ) {
200
    if ( !defined( $item->{patron} ) ) {
200
        $circ->screen_msg("Item not checked out") unless $checked_in_ok;
201
        $circ->screen_msg("Item not checked out") unless $checked_in_ok;
202
    	syslog("LOG_DEBUG", "C4::SIP::ILS::checkin - item not checked out");
201
    }
203
    }
202
    else {
204
    else {
203
        if ( $circ->ok ) {
205
        if ( $circ->ok ) {
204
- 

Return to bug 13411