From ff80b1ab3c6a986c54568fa865bc03c31390eed6 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Wed, 17 Aug 2016 17:30:55 +0100 Subject: [PATCH] Bug 17141 Call config method to retrieve logdir Incorrect method call is causing runtime error and not retrieving the correct logdir value Change retrieves the value correctly --- misc/cronjobs/edi_cron.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/edi_cron.pl b/misc/cronjobs/edi_cron.pl index a383033..c23341a 100755 --- a/misc/cronjobs/edi_cron.pl +++ b/misc/cronjobs/edi_cron.pl @@ -36,7 +36,7 @@ use Koha::EDI qw( process_quote process_invoice process_ordrsp); use Koha::Edifact::Transport; use Fcntl qw( :DEFAULT :flock :seek ); -my $logdir = C4::Context->context('logdir'); +my $logdir = C4::Context->config('logdir'); # logging set to trace as this may be what you # want on implementation -- 2.7.4