fix to previous patch - use 'lt', not '<', to compare date strings
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
0ad2b08c28
commit
d23a8d3069
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) {
|
|||
$ri{duedate} = format_date($duedate);
|
||||
my ($borrower) =
|
||||
GetMemberDetails( $riborrowernumber{$_}, 0 );
|
||||
$ri{return_overdue} = 1 if ($duedate < $today->output('iso'));
|
||||
$ri{return_overdue} = 1 if ($duedate lt $today->output('iso'));
|
||||
$ri{borrowernumber} = $borrower->{'borrowernumber'};
|
||||
$ri{borcnum} = $borrower->{'cardnumber'};
|
||||
$ri{borfirstname} = $borrower->{'firstname'};
|
||||
|
|
Loading…
Reference in a new issue