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 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index debef01db5..8d6f456f53 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 -- 2.39.2