add not available in case there is no last status change registered
This commit is contained in:
parent
9d14c25b40
commit
4246c15157
|
@ -1029,7 +1029,7 @@ if (check_login()) {
|
|||
);
|
||||
|
||||
$last_status_change_text = 'Time elapsed since last status change: ';
|
||||
$last_status_change_text .= !empty($module['last_status_change']) ? human_time_comparation($module['last_status_change']) : '';
|
||||
$last_status_change_text .= !empty($module['last_status_change']) ? human_time_comparation($module['last_status_change']) : __('N/A');
|
||||
|
||||
$data[5] = ui_print_status_image($status, htmlspecialchars($title), true, false, false, false, $last_status_change_text);
|
||||
if (!$show_context_help_first_time) {
|
||||
|
|
Loading…
Reference in New Issue