From dbecb6825e4db7e2da6820f154ec041fb77ea0db Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Fri, 2 Dec 2011 10:08:36 +0100 Subject: [PATCH] Bug 7266 follow-up: corrected the "lost" status check --- circ/overdue.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/circ/overdue.pl b/circ/overdue.pl index acbdaa7..1ef1330 100755 --- a/circ/overdue.pl +++ b/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; -- 1.7.4.1