@@ -, +, @@ --- circ/overdue.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- a/circ/overdue.pl +++ a/circ/overdue.pl @@ -270,10 +270,10 @@ if ($noreport) { $strsth .= " AND borrowers.gonenoaddress <> 0"; } elsif ( $borflagsfilter eq 'debarred' ) { - $strsth .= " AND borrowers.debarred >= CURDATE()" ; + $strsth .= " AND borrowers.debarred >= CURDATE()"; } elsif ( $borflagsfilter eq 'lost') { - $strsth .= " AND borrowers.debarred <> 0"; + $strsth .= " AND borrowers.lost <> 0"; } $strsth.=" AND borrowers.branchcode = '" . $branchfilter . "' " if $branchfilter; $strsth.=" AND date_due < '" . $datedueto . "' " if $datedueto; --