From 9a735b424dfe3022a9111fed5df771a89c0befcc Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 23 Nov 2015 15:42:58 +0000 Subject: [PATCH] Bug 15242 - Missing subroutine in overdue_notices.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch changes the call to parse_overdues_letter to use the full namespace to ensure the subroutine can be found. Signed-off-by: Marc VĂ©ron --- misc/cronjobs/overdue_notices.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index 3cc25f9..19000c1 100755 --- a/misc/cronjobs/overdue_notices.pl +++ b/misc/cronjobs/overdue_notices.pl @@ -674,7 +674,7 @@ END_SQL my $print_sent = 0; # A print notice is not yet sent for this patron for my $mtt ( @message_transport_types ) { - my $letter = parse_overdues_letter( + my $letter = C4::Overdues::parse_overdues_letter( { letter_code => $overdue_rules->{"letter$i"}, borrowernumber => $borrowernumber, branchcode => $branchcode, -- 1.7.10.4