From fffcf9b9d3eb3f527e41e2bc1edb717e1210c2b3 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 Signed-off-by: Kyle M Hall Installed DataTime version 0.53, verified the error occurs. Applied patch, verified patch removes the error. Signed-off-by: Paul Poulain --- circ/circulation.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index f15d4cea94..b051281d21 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; -- 2.39.5