mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fixed reports in alert module reports when module is empty
This commit is contained in:
parent
dcb3d7d7b9
commit
0ccb059e36
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user