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

(-)a/Koha/Item.pm (-2 / +1 lines)
Lines 977-983 sub last_returned_by { Link Here
977
977
978
                # If StoreLastBorrower is 0 or disabled, bail without storing anything. Also delete any remaining rows from the table.
978
                # If StoreLastBorrower is 0 or disabled, bail without storing anything. Also delete any remaining rows from the table.
979
                if ( $max_stored_borrowers == 0 ) {
979
                if ( $max_stored_borrowers == 0 ) {
980
                    $self->last_borrowers->delete;
980
                    $self->_result->last_returned_by->delete_all;
981
                    return $self;
981
                    return $self;
982
                }
982
                }
983
983
984
- 

Return to bug 26993