From 6f32d37c83efbf3b9277ee19461209b2f30ab54f Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Thu, 1 Sep 2011 10:45:20 +0000 Subject: [PATCH] 2011-09-01 Miguel de Dios * operation/agentes/ver_agente.php: fixed the massive deletion alerts with modules with white spaces. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/operation/agentes/ver_agente.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index f12b85ef32..125d2c109c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-09-01 Miguel de Dios + + * operation/agentes/ver_agente.php: fixed the massive deletion alerts with + modules with white spaces. + 2011-09-01 Juan Manuel Ramon * include/functions_agents.php: changed function strstr() for diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index a00d70b2f3..9dff93c338 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -126,7 +126,7 @@ if (is_ajax ()) { $result = array(); foreach($nameModules as $nameModule) { - $result[] = $nameModule['nombre']; + $result[] = io_safe_output($nameModule['nombre']); } echo json_encode($result);