From db50ef39e7762dddcb4f594b7dfecb09d5d49f28 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 5 Feb 2019 20:32:14 +0100 Subject: [PATCH] FIX Translation not loaded by scheduled jobs --- scripts/cron/cron_run_jobs.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/cron/cron_run_jobs.php b/scripts/cron/cron_run_jobs.php index 873fc0ae9fb..a3b7d83684d 100755 --- a/scripts/cron/cron_run_jobs.php +++ b/scripts/cron/cron_run_jobs.php @@ -65,10 +65,13 @@ $version=DOL_VERSION; $error=0; + /* * Main */ +$langs->loadLangs(array('main', 'dict')); + // current date $now=dol_now();