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

(-)a/C4/SIP/ILS.pm (-1 / +1 lines)
Lines 199-205 sub checkin { Link Here
199
    }
199
    }
200
    else {
200
    else {
201
        if ( $circ->ok ) {
201
        if ( $circ->ok ) {
202
            $circ->patron( $patron = new ILS::Patron $item->{patron} );
202
            $circ->patron($patron = C4::SIP::ILS::Patron->new( $item->{patron} )); 
203
            delete $item->{patron};
203
            delete $item->{patron};
204
            delete $item->{due_date};
204
            delete $item->{due_date};
205
            $patron->{items} = [ grep { $_ ne $item_id } @{ $patron->{items} } ];
205
            $patron->{items} = [ grep { $_ ne $item_id } @{ $patron->{items} } ];

Return to bug 13159