From 5281ef2aff67f77c4073a12e02d80fa785f5ba6b 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 Content-Type: text/plain; charset="utf-8" Signed-off-by: Kyle M Hall Installed DataTime version 0.53, verified the error occurs. Applied patch, verified patch removes the error. --- circ/circulation.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index f15d4ce..b051281 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -466,7 +466,7 @@ sub build_issue_data { $it->{'renew_failed'} = $renew_failed{$it->{'itemnumber'}}; $it->{'return_failed'} = $return_failed{$it->{'barcode'}}; - 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