mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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()) {
|
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()) {
|
if (in_array('graph', $show_fields) || is_metaconsole()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user