diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cdb1d7c31a..5b9859219e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-07-31 Sergio Martin + + * pandora_console/include/functions_api.php: Added + a safe_input to fix entities problems in last feature + 2012-07-31 Sergio Martin * include/functions_api.php: Added API function to diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 3aee09728b..e52f5e0bc5 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -3246,7 +3246,7 @@ function api_set_add_module_in_conf($id_agent, $module_name, $configuration_data * @return string success or error message */ function api_get_module_from_conf($id_agent, $module_name, $thrash2, $thrash3) { - $result = enterprise_hook('config_agents_get_module_from_conf', array($id_agent, $module_name)); + $result = enterprise_hook('config_agents_get_module_from_conf', array($id_agent, io_safe_output($module_name))); if($result !== ENTERPRISE_NOT_HOOK) { returnData('string', array('type' => 'string', 'data' => $result));