From 685e9c182d73a3836390a15d01507253ff8f2f12 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 1 Apr 2008 16:01:40 +0200 Subject: [PATCH] BUGFIX renewal otherwise, the new issuedate will be empty Signed-off-by: Joshua Ferraro --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 0add08eccf..5c14e2be1f 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1698,7 +1698,7 @@ sub AddRenewal { my $biblio = GetBiblioFromItemNumber($itemnumber); # If the due date wasn't specified, calculate it by adding the # book's loan length to today's date. - unless ( $datedue ) { + unless ( $datedue->output('iso') ) { my $borrower = C4::Members::GetMemberDetails( $borrowernumber, 0 ); -- 2.39.5