From 13d7d562e0b897e25f0d8eb9fcd0ac2c9e599f46 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Thu, 28 Feb 2013 16:54:24 +0000 Subject: [PATCH] 2013-02-28 Miguel de Dios * godmode/agentes/configurar_agente.php: fixed, now show again the error each case in the action to creation a agent. Fixes: #3606275 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/godmode/agentes/configurar_agente.php | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 638c5f7f90..4da8ee179a 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2013-02-28 Miguel de Dios + + * godmode/agentes/configurar_agente.php: fixed, now show again + the error each case in the action to creation a agent. + + Fixes: #3606275 + 2013-02-28 Miguel de Dios * operation/netflow/nf_live_view.php: fixed load filter from the diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 71b9224242..ca93c1929b 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -471,9 +471,13 @@ if ($delete_conf_file) { // Show agent creation results if ($create_agent) { + if (!isset($agent_creation_error)) { + $agent_creation_error = __('Could not be created'); + } + ui_print_result_message ($agent_created_ok, __('Successfully created'), - __('Could not be created')); + $agent_creation_error); } // Fix / Normalize module data