Bug 15242: Missing subroutine in overdue_notices.pl
authorNick Clemens <nick@bywatersolutions.com>
Tue, 24 Nov 2015 19:23:53 +0000 (19:23 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Nov 2015 15:31:48 +0000 (12:31 -0300)
This patch changes the call to parse_overdues_letter to use the full
namespace to ensure the subroutine can be found.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/cronjobs/overdue_notices.pl

index 3cc25f9..98b0a25 100755 (executable)
@@ -40,7 +40,7 @@ use DateTime::Duration;
 use C4::Context;
 use C4::Debug;
 use C4::Letters;
-use C4::Overdues qw(GetFine GetOverdueMessageTransportTypes);
+use C4::Overdues qw(GetFine GetOverdueMessageTransportTypes parse_overdues_letter);
 use C4::Budgets qw(GetCurrency);
 use C4::Log;
 use Koha::Borrower::Debarments qw(AddUniqueDebarment);