From 3ebd0d66eee23bc9d01bab82668b783a5c94ff77 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 21 Feb 2011 17:21:44 +0000 Subject: [PATCH] 2011-02-21 Miguel de Dios * godmode/agentes/agent_manager.php: fixed the return of ajax call to search parents, now the agent names is without html entities. Fixes: #3174872 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/godmode/agentes/agent_manager.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index b3e6200ec6..f201299a91 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2011-02-21 Miguel de Dios + + * godmode/agentes/agent_manager.php: fixed the return of ajax call to + search parents, now the agent names is without html entities. + + Fixes: #3174872 + 2011-02-21 Sergio Martin * include/functions_networkmap.php: Fixed the group maps diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index 88f00ed1ef..d7ca86aa6b 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -31,7 +31,7 @@ if (is_ajax ()) { return; foreach ($agents as $agent) { - echo $agent['nombre']."|".$agent['direccion']."\n"; + echo safe_output($agent['nombre']) . "|" . safe_output($agent['direccion']) . "\n"; } return;