Fix for expiry date bug

This commit is contained in:
rangi 2006-06-01 01:41:22 +00:00
parent e7b6c06c99
commit eb07ca7bf4
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ sub canbookbeissued {
if ($borrower->{flags}->{'DBARRED'}) {
$issuingimpossible{DEBARRED} = 1;
}
if (&Date_Cmp(&ParseDate($borrower->{expiry}),&ParseDate("today"))<0) {
if (&Date_Cmp(&ParseDate($borrower->{dateexpiry}),&ParseDate("today"))<0) {
$issuingimpossible{EXPIRED} = 1;
}
#