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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 2053-2059 sub AddReturn { Link Here
2053
        my $fix = _FixOverduesOnReturn( $borrowernumber, $item->itemnumber, $exemptfine, 'RETURNED' );
2053
        my $fix = _FixOverduesOnReturn( $borrowernumber, $item->itemnumber, $exemptfine, 'RETURNED' );
2054
        defined($fix) or warn "_FixOverduesOnReturn($borrowernumber, $item->itemnumber...) failed!";  # zero is OK, check defined
2054
        defined($fix) or warn "_FixOverduesOnReturn($borrowernumber, $item->itemnumber...) failed!";  # zero is OK, check defined
2055
2055
2056
        if ( $issue and $issue->is_overdue ) {
2056
        if ( $issue and $issue->is_overdue($return_date) ) {
2057
        # fix fine days
2057
        # fix fine days
2058
            my ($debardate,$reminder) = _debar_user_on_return( $patron_unblessed, $item->unblessed, dt_from_string($issue->date_due), $return_date );
2058
            my ($debardate,$reminder) = _debar_user_on_return( $patron_unblessed, $item->unblessed, dt_from_string($issue->date_due), $return_date );
2059
            if ($reminder){
2059
            if ($reminder){
2060
- 

Return to bug 25531