2011-08-22 Tomas Palacios <tomas.palacios@artica.es>
* godmode/massive/massive_add_alerts.php: fixed a bug where all the massive add alert ops were being registered in the Pandora audit log as failed even if they were successful. Fixes: Bug ID 3396378 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5bd6dd9c7f
commit
4e473e0291
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue