Fix for expiry date bug
This commit is contained in:
parent
e7b6c06c99
commit
eb07ca7bf4
|
|
@ -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;
|
||||
}
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in New Issue