Browse Source

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.
3.0.x
plg 18 years ago
parent
commit
dc986ecac5
  1. 1
      circ/circulation.pl

1
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};

Loading…
Cancel
Save