diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7f26327e43..8ff990239e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2011-02-21 Miguel de Dios + + * include/ajax/agent.php: fixed the return of call ajax, now it haven't + html entities. + + Fixes: #3174872 + 2011-02-21 Miguel de Dios * ChangeLog: Change the number of item in tracker in previus commit. Sorry diff --git a/pandora_console/include/ajax/agent.php b/pandora_console/include/ajax/agent.php index 0e1fb06a86..a362690cb1 100644 --- a/pandora_console/include/ajax/agent.php +++ b/pandora_console/include/ajax/agent.php @@ -48,7 +48,7 @@ if ($search_agents) { return; foreach ($agents as $agent) { - echo $agent['nombre']."|".$agent['id_agente']."|".$agent['direccion']."\n"; + echo safe_output($agent['nombre']) . "|" . safe_output($agent['id_agente']) . "|" . safe_output($agent['direccion']) . "\n"; } return;