From af85601eff43339c18d32a4054277f1ed5fc23b4 Mon Sep 17 00:00:00 2001 From: MJ Ray Date: Fri, 7 Sep 2012 15:17:05 +0100 Subject: [PATCH] circ/circulation.pl: force issuedate to a string to fix bug 8738 --- circ/circulation.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 7b388ce..f9db9a2 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -461,7 +461,7 @@ sub build_issue_data { ($it->{'author'} eq '') and $it->{'author'} = ' '; $it->{'renew_failed'} = $renew_failed{$it->{'itemnumber'}}; - if ( $it->{'issuedate'} gt $todaysdate or $it->{'lastreneweddate'} gt $todaysdate ) { + if ( $it->{'issuedate'}."" gt $todaysdate or $it->{'lastreneweddate'} gt $todaysdate ) { (!$relatives) ? push @todaysissues, $it : push @relissues, $it; } else { (!$relatives) ? push @previousissues, $it : push @relprevissues, $it; -- 1.7.2.5