From be821716f0284c4cdc5531c6c7efec16aae68369 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 17 Jan 2018 12:26:20 +0100 Subject: [PATCH] code comment --- htdocs/cron/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php index a217370971b..6eeff6cea11 100644 --- a/htdocs/cron/list.php +++ b/htdocs/cron/list.php @@ -127,7 +127,7 @@ if ($action == 'confirm_execute' && $confirm == "yes" && $user->rights->cron->ex $res = $object->reprogram_jobs($user->login, $now); if ($res > 0) { - if ($resrunjob >= 0) // We add result of reprogram ony if no error message already reported + if ($resrunjob >= 0) // We show the result of reprogram only if no error message already reported { if ($object->lastresult >= 0) setEventMessages($langs->trans("JobFinished"), null, 'mesgs'); else setEventMessages($langs->trans("JobFinished"), null, 'errors');