diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php
index 81e9d57c03b..61b31d37131 100644
--- a/htdocs/cron/list.php
+++ b/htdocs/cron/list.php
@@ -508,7 +508,10 @@ if ($num > 0)
print '';
print '
';
- if ($obj->lastresult != '') {print dol_trunc($obj->lastresult);}
+ if ($obj->lastresult != '') {
+ if (empty($obj->lastresult)) print $obj->lastresult;
+ else print ''.dol_trunc($obj->lastresult).'';
+ }
print ' | ';
print '';
|