diff --git a/pandora_console/godmode/massive/massive_add_alerts.php b/pandora_console/godmode/massive/massive_add_alerts.php index acd9b0f55f..5076d5af9f 100644 --- a/pandora_console/godmode/massive/massive_add_alerts.php +++ b/pandora_console/godmode/massive/massive_add_alerts.php @@ -76,7 +76,7 @@ function process_manage_add ($id_alert_template, $id_agents, $module_names) { $conttotal ++; } - if ($countSuccess > 0) { + if ($contsuccess > 0) { db_pandora_audit("Masive management", "Add alert", false, false, "Alert template: " . $id_alert_template . " Modules: " . json_encode($modules_id)); } else {