mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-08-17 07:48:48 +02:00
added N/A in case last status change is not set
This commit is contained in:
parent
a8325653d4
commit
531e729ebe
@ -1501,7 +1501,7 @@ if (!empty($result)) {
|
||||
}
|
||||
|
||||
if (in_array('last_status_change', $show_fields) || is_metaconsole()) {
|
||||
$data[7] = human_time_comparation($row['last_status_change']);
|
||||
$data[7] = ($row['last_status_change'] > 0) ? human_time_comparation($row['last_status_change']) : __('N/A');
|
||||
}
|
||||
|
||||
if (in_array('graph', $show_fields) || is_metaconsole()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user