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

(-)a/C4/SIP/ILS.pm (-1 / +3 lines)
Lines 233-238 sub checkin { Link Here
233
        delete $item->{due_date};
233
        delete $item->{due_date};
234
        $patron->{items} = [ grep { $_ ne $item_id } @{ $patron->{items} } ];
234
        $patron->{items} = [ grep { $_ ne $item_id } @{ $patron->{items} } ];
235
    } else {
235
    } else {
236
        # Checkin failed: Wrongbranch or withdrawn?
237
        # Bug 10748 with pref BlockReturnOfLostItems adds another case to come
238
        # here: returning a lost item when the pref is set.
236
        $circ->screen_msg("Checkin failed");
239
        $circ->screen_msg("Checkin failed");
237
        syslog( "LOG_WARNING", "Checkin failed: probably for Wrongbranch or withdrawn" );
240
        syslog( "LOG_WARNING", "Checkin failed: probably for Wrongbranch or withdrawn" );
238
    }
241
    }
239
- 

Return to bug 10748