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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 836-842 sub CanBookBeIssued { Link Here
836
        );
836
        );
837
        my $block_lost_return = C4::Context->preference("BlockReturnOfLostItems") ? 1 : 0;
837
        my $block_lost_return = C4::Context->preference("BlockReturnOfLostItems") ? 1 : 0;
838
        my ( $stats_return, $stats_messages, $stats_iteminformation, $stats_borrower ) =
838
        my ( $stats_return, $stats_messages, $stats_iteminformation, $stats_borrower ) =
839
            AddReturn( $item_object->barcode, C4::Context->userenv->{'branch'} );
839
            AddReturn( $item_object->barcode, C4::Context->userenv->{'branch'} ) unless !$item_object->onloan;
840
        ModDateLastSeen( $item_object->itemnumber, $block_lost_return );    # FIXME Move to Koha::Item
840
        ModDateLastSeen( $item_object->itemnumber, $block_lost_return );    # FIXME Move to Koha::Item
841
        return (
841
        return (
842
            {
842
            {
843
- 

Return to bug 35840