Should call the config method to retrieve the logdir otherwise an error is generated at runtime
Created attachment 54544 [details] [review] Proposed patch
Created attachment 54728 [details] [review] [SIGNED-OFF] 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>
Created attachment 54781 [details] [review] 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.
Pushed to master for 16.11, thanks Colin!
Pushed in 16.05. Will be in 16.05.04.