From 18c362cf99021663901b5c97c22551862568dca8 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Fri, 19 Nov 2010 12:45:18 +0000 Subject: [PATCH] 2010-11-19 Sergio Martin * operation/agentes/estado_generalagente.php: Fixed the shows of IP in the agent view for bug 3111807 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/operation/agentes/estado_generalagente.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index b7b770c4dc..faf141ee06 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-11-19 Sergio Martin + + * operation/agentes/estado_generalagente.php: Fixed the + shows of IP in the agent view for bug 3111807 + 2010-11-19 Miguel de Dios * include/functions_extensions.php: added functions diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index f895202d2c..cc3cbee4ea 100644 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -81,7 +81,7 @@ echo ''.__('IP Address').''; echo ''; -print_select (get_agent_addresses ($id_agente), "not_used", get_agent_address ($id_agente)); +print_select (array_unique(array_merge((array)get_agent_address ($id_agente),get_agent_addresses ($id_agente))), "not_used", get_agent_address ($id_agente)); echo ''; //OS