From b11d31fea00e3dda6f8311ef4d50e08d323908b1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 5 Dec 2021 16:51:51 +0100 Subject: [PATCH] Fix: Quick hack to show missing datelastresult field in list of cronjob --- htdocs/cron/list.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php index 4393d248d3f..33ed5ed893f 100644 --- a/htdocs/cron/list.php +++ b/htdocs/cron/list.php @@ -549,19 +549,21 @@ if ($num > 0) { } print ''; - print ''; + $datefromto = (empty($obj->datestart) ? '' : dol_print_date($db->jdate($obj->datestart), 'dayhour', 'tzserver')).' - '.(empty($obj->dateend) ? '' : dol_print_date($db->jdate($obj->dateend), 'dayhour', 'tzserver')); + + print ''; if (!empty($obj->datestart)) { print dol_print_date($db->jdate($obj->datestart), 'dayhour', 'tzserver'); } print ''; - print ''; + print ''; if (!empty($obj->dateend)) { print dol_print_date($db->jdate($obj->dateend), 'dayhour', 'tzserver'); } print ''; - print ''; + print ''; if (!empty($obj->nbrun)) { print $obj->nbrun; } else {