circ/circulation.pl: force issuedate to a string to fix bug 8738
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Installed DataTime version 0.53, verified the error occurs. Applied patch, verified patch removes the error. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
1749d1da56
commit
fffcf9b9d3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue