From ba2778ae7b272bdfb81f7d9daa6d5e4f173f35ec Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 30 Apr 2024 11:09:21 +0200 Subject: [PATCH] #13462 remove ------ alerts --- pandora_console/include/functions_reporting.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index aa2567952b..a8c9d66ce1 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -6128,7 +6128,7 @@ function reporting_alert_get_fired($id_agent_module, $id_alert_template_module, $datelimit = ($datetime - $period); - $empty = '----------------------------'; + $empty = ''; if (empty($firedTimes)) { $firedTimes = []; $firedTimes[0]['timestamp'] = $empty; @@ -6429,7 +6429,7 @@ function reporting_alert_report_agent($report, $content) $data_action[$naction]['name'] = $action['name']; $fired = $action['fired']; if ($fired == 0 || ($fired <= $datelimit || $fired > $datetime)) { - $data_action[$naction]['fired'] = '----------------------------'; + $data_action[$naction]['fired'] = ''; } else { $data_action[$naction]['fired'] = $fired; } @@ -6441,7 +6441,7 @@ function reporting_alert_report_agent($report, $content) $data_action[$naction]['name'] = $action['name']; $fired = $action['fired']; if ($fired == 0 || ($fired <= $datelimit || $fired > $datetime)) { - $data_action[$naction]['fired'] = '----------------------------'; + $data_action[$naction]['fired'] = ''; } else { $data_action[$naction]['fired'] = $fired; } @@ -6453,7 +6453,7 @@ function reporting_alert_report_agent($report, $content) $data_action[$naction]['name'] = $action['name']; $fired = $action['fired']; if ($fired == 0 || ($fired <= $datelimit || $fired > $datetime)) { - $data_action[$naction]['fired'] = '----------------------------'; + $data_action[$naction]['fired'] = ''; } else { $data_action[$naction]['fired'] = $fired; } @@ -6604,7 +6604,7 @@ function reporting_alert_report_module($report, $content) $data_action[$naction]['name'] = $action['name']; $fired = $action['fired']; if ($fired == 0 || ($fired <= $datelimit || $fired > $datetime)) { - $data_action[$naction]['fired'] = '----------------------------'; + $data_action[$naction]['fired'] = ''; } else { $data_action[$naction]['fired'] = $fired; } @@ -6616,7 +6616,7 @@ function reporting_alert_report_module($report, $content) $data_action[$naction]['name'] = $action['name']; $fired = $action['fired']; if ($fired == 0 || ($fired <= $datelimit || $fired > $datetime)) { - $data_action[$naction]['fired'] = '----------------------------'; + $data_action[$naction]['fired'] = ''; } else { $data_action[$naction]['fired'] = $fired; } @@ -6628,7 +6628,7 @@ function reporting_alert_report_module($report, $content) $data_action[$naction]['name'] = $action['name']; $fired = $action['fired']; if ($fired == 0 || ($fired <= $datelimit || $fired > $datetime)) { - $data_action[$naction]['fired'] = '----------------------------'; + $data_action[$naction]['fired'] = ''; } else { $data_action[$naction]['fired'] = $fired; }