From eb07ca7bf463489bf369e63560b905777f54e4e5 Mon Sep 17 00:00:00 2001 From: rangi Date: Thu, 1 Jun 2006 01:41:22 +0000 Subject: [PATCH] Fix for expiry date bug --- C4/Circulation/Circ2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index 128af70f46..25dc99aefd 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -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; } # -- 2.39.5