[Koha-patches] [PATCH] BUGFIX renewal

paul.poulain at biblibre.com paul.poulain at biblibre.com
Tue Apr 1 16:01:40 CEST 2008


From: paul <paul.poulain at biblibre.com>

otherwise, the new issuedate will be empty
---
 C4/Circulation.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index 3ce79e3..9a5e7c6 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 );
-- 
1.5.3.2




More information about the Koha-patches mailing list