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 <paul.poulain@biblibre.com>
This commit is contained in:
Lyon3 Team 2012-01-19 16:44:01 +01:00 committed by Paul Poulain
parent e0095c5585
commit 0e9edb1102

View file

@ -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