Fixed reports in alert module reports when module is empty

This commit is contained in:
samucarc 2018-09-20 15:50:45 +02:00
parent dcb3d7d7b9
commit 0ccb059e36
1 changed files with 0 additions and 4 deletions

View File

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