add not available in case there is no last status change registered

This commit is contained in:
alejandro-campos 2020-03-25 16:21:51 +01:00
parent 9d14c25b40
commit 4246c15157
1 changed files with 1 additions and 1 deletions

View File

@ -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) {