From 0e9edb11026fab413540fe78ea88206cff433fcc Mon Sep 17 00:00:00 2001 From: Lyon3 Team Date: Thu, 19 Jan 2012 16:44:01 +0100 Subject: [PATCH] Bug 6328 follow-up, fixes Undefined subroutine &C4::Circulation::Delta_Days The Delta_Days sub is called only when a patron that is already debarred must be debarred for a longer period. This (rare) case probably hasn't be tested during QA, because the sub is not loaded. Loading it fixes the problem Signed-off-by: Paul Poulain --- C4/Circulation.pm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index debef01..8d6f456 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -43,6 +43,7 @@ use Date::Calc qw( Day_of_Week Add_Delta_Days check_date + Delta_Days ); use POSIX qw(strftime); use C4::Branch; # GetBranches -- 1.7.5.4