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

To test:
1) Run edi_cron.pl, notice error
2) Apply patch and run edi_cron.pl again, should work as expected

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Note: I did not test but changes make sense.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Colin Campbell 2016-08-17 17:30:55 +01:00 committed by Kyle M Hall
parent d0d8bd1822
commit af49b42219
1 changed files with 1 additions and 1 deletions

View File

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