projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2568e16
)
bug 4429: do not include items due today in overdue count
author
Galen Charlton
<gmcharlt@gmail.com>
Sat, 1 May 2010 16:08:17 +0000
(12:08 -0400)
committer
Galen Charlton
<gmcharlt@gmail.com>
Mon, 3 May 2010 11:46:25 +0000
(07:46 -0400)
Use curdate() instead of now() in GetMemberIssuesAndFines.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Members.pm
patch
|
blob
|
history
diff --git
a/C4/Members.pm
b/C4/Members.pm
index
848fdd1
..
19cc9fa
100644
(file)
--- a/
C4/Members.pm
+++ b/
C4/Members.pm
@@
-678,7
+678,7
@@
sub GetMemberIssuesAndFines {
$sth = $dbh->prepare(
"SELECT COUNT(*) FROM issues
WHERE borrowernumber = ?
- AND date_due <
now
()"
+ AND date_due <
curdate
()"
);
$sth->execute($borrowernumber);
my $overdue_count = $sth->fetchrow_arrayref->[0];