From 0ccb059e36e819d849221ed935b70c09ab2c481f Mon Sep 17 00:00:00 2001 From: samucarc Date: Thu, 20 Sep 2018 15:50:45 +0200 Subject: [PATCH] Fixed reports in alert module reports when module is empty --- pandora_console/include/functions_reporting.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index d385b424be..3429840c9d 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -3223,10 +3223,6 @@ function reporting_alert_report_module($report, $content) { // Alerts over $id_agent_module $alerts = alerts_get_effective_alert_actions($content['id_agent_module']); - if ($alerts === false){ - return; - } - $ntemplates = 0; foreach ($alerts as $template => $actions) {