From e8490a5063390a3e6e650496db7477fe3a5507b4 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 10 Aug 2010 10:25:13 +0000 Subject: [PATCH] 2010-08-10 Sergio Martin * include/functions_alerts.php: Fixed a typo bug for show the message of succefully copied when you clone an alert action git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_alerts.php | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index bf007dc2db..e579968372 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-08-10 Sergio Martin + + * include/functions_alerts.php: Fixed a typo bug for show + the message of succefully copied when you clone an alert action + 2010-08-10 Ramon Novoa * include/auth/mysql.php, diff --git a/pandora_console/include/functions_alerts.php b/pandora_console/include/functions_alerts.php index bd1618e664..c001a3a596 100644 --- a/pandora_console/include/functions_alerts.php +++ b/pandora_console/include/functions_alerts.php @@ -150,7 +150,8 @@ function clone_alert_action ($id_alert_action) { return false; unset($action['id']); - $result = create_alert_action ($action['name']." ".__('copy'), $action['id_alert_command'], $action); + return create_alert_action ($action['name']." ".__('copy'), $action['id_alert_command'], $action); + } function get_alert_actions ($only_names = true) {