bug fixed: the issue timestamp had not the same format as the today's date
authorplg <plg>
Fri, 31 Mar 2006 15:31:44 +0000 (15:31 +0000)
committerplg <plg>
Fri, 31 Mar 2006 15:31:44 +0000 (15:31 +0000)
to which it was compared. The comparison separate issues on display between
today issues and older issues.

circ/circulation.pl

index 799056b..11fe89e 100755 (executable)
@@ -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};