NEW Show last result code of cron jobs in error in red
This commit is contained in:
parent
cb76d2ce0f
commit
5e14b165c9
@ -508,7 +508,10 @@ if ($num > 0)
|
||||
print '</td>';
|
||||
|
||||
print '<td class="center">';
|
||||
if ($obj->lastresult != '') {print dol_trunc($obj->lastresult);}
|
||||
if ($obj->lastresult != '') {
|
||||
if (empty($obj->lastresult)) print $obj->lastresult;
|
||||
else print '<span class="error">'.dol_trunc($obj->lastresult).'</div>';
|
||||
}
|
||||
print '</td>';
|
||||
|
||||
print '<td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user