#11067 Fix IP target title

This commit is contained in:
miguel angel rasteu 2023-05-08 11:59:08 +02:00
parent 88d6e0e4f1
commit f9b7ac523e
2 changed files with 5 additions and 1 deletions

View File

@ -873,7 +873,7 @@ if ($modules !== false) {
);
if (strlen($module['ip_target']) !== 0) {
$title .= '<br/>'.$module['ip_target'];
$title .= '<br/>IP: '.$module['ip_target'];
}
// This module is initialized ? (has real data).

View File

@ -1152,6 +1152,10 @@ if (check_login()) {
$title
);
if (strlen($module['ip_target']) !== 0) {
$title .= '<br/>IP: '.$module['ip_target'];
}
$last_status_change_text = __('Time elapsed since last status change: ');
$last_status_change_text .= (empty($module['last_status_change']) === false) ? human_time_comparation($module['last_status_change']) : __('N/A');