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

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

Return to bug 13411