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

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 2318-2324 sub _FixOverduesOnReturn { Link Here
2318
2318
2319
    # check for overdue fine
2319
    # check for overdue fine
2320
    my $sth = $dbh->prepare(
2320
    my $sth = $dbh->prepare(
2321
"SELECT * FROM accountlines WHERE (borrowernumber = ?) AND (itemnumber = ?) AND (accounttype='FU' OR accounttype='O')"
2321
"SELECT * FROM accountlines WHERE (borrowernumber = ?) AND (itemnumber = ?) AND (accounttype='FU' OR accounttype='O') order by timestamp desc"
2322
    );
2322
    );
2323
    $sth->execute( $borrowernumber, $item );
2323
    $sth->execute( $borrowernumber, $item );
2324
2324
2325
- 

Return to bug 17483