diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 34e7ca7e4d..b91c2dfcbd 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-02-15 Miguel de Dios + + * godmode/alerts/alert_list.php: fixed the lost var in the audit. + + Fixes: #3182470 + 2011-02-15 Ramon Novoa * pandoradb_data.sql, include/functions_alerts.php, diff --git a/pandora_console/godmode/alerts/alert_list.php b/pandora_console/godmode/alerts/alert_list.php index 2a217354ef..345bf3d4e3 100644 --- a/pandora_console/godmode/alerts/alert_list.php +++ b/pandora_console/godmode/alerts/alert_list.php @@ -160,10 +160,10 @@ if ($delete_action) { $result = delete_alert_agent_module_action ($id_action); if ($result) { - pandora_audit("Alert management", 'Delete action ' . $id_action . ' in alert ' . $id_alert_module); + pandora_audit("Alert management", 'Delete action ' . $id_action . ' in alert ' . $id_alert); } else { - pandora_audit("Alert management", 'Fail to delete action ' . $id_action . ' in alert ' . $id_alert_module); + pandora_audit("Alert management", 'Fail to delete action ' . $id_action . ' in alert ' . $id_alert); } $messageAction = print_result_message ($result, __('Successfully deleted'), __('Could not be deleted'), '', true);