From dc986ecac55ad6deb4902ef280aeead36d041ea0 Mon Sep 17 00:00:00 2001 From: plg Date: Fri, 31 Mar 2006 15:31:44 +0000 Subject: [PATCH] bug fixed: the issue timestamp had not the same format as the today's date to which it was compared. The comparison separate issues on display between today issues and older issues. --- circ/circulation.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/circ/circulation.pl b/circ/circulation.pl index 799056b4ca..11fe89e66d 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -204,6 +204,7 @@ if ($borrower) { # split in 2 arrays for today & previous foreach my $it (keys %$issueslist) { my $issuedate = $issueslist->{$it}->{'timestamp'}; + $issuedate =~ s/-//g; $issuedate = substr($issuedate, 0, 8); if ($todaysdate == $issuedate) { push @todaysissues, $issueslist->{$it}; -- 2.39.5