From 0d5fc9e1de7023fbb23056a14aa0d5717205ff70 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Thu, 3 Feb 2011 13:12:16 +0000 Subject: [PATCH] 2011-02-03 Juan Manuel Ramon * operation/search_alerts.php: Actions_name array now is initialized to void value. Fixes: #3171506 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/operation/search_alerts.php | 1 + 2 files changed, 6 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f52215bb3b..a58bed05b1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-02-03 Juan Manuel Ramon + * operation/search_alerts.php: Actions_name array now is initialized to void value. + + Fixes: #3171506 + 2011-02-02 Sancho lerena * pandoradb.sql: Altered lenght for custom SQL reports. diff --git a/pandora_console/operation/search_alerts.php b/pandora_console/operation/search_alerts.php index 5d4a379072..8e3ec571d3 100755 --- a/pandora_console/operation/search_alerts.php +++ b/pandora_console/operation/search_alerts.php @@ -117,6 +117,7 @@ if($searchAlerts) { $alerts[$key]['template_name'] = $alert['template_name']; $actions = get_alert_agent_module_actions($alert['id']); + $actions_name = array(); foreach($actions as $action) { $actions_name[] = $action['name']; }