2012-07-31 Sergio Martin <sergio.martin@artica.es>

* pandora_console/include/functions_api.php: Added 
	a safe_input to fix entities problems in last feature



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-07-31 16:28:15 +00:00
parent d12c23c21c
commit 990da2e5f2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-07-31 Sergio Martin <sergio.martin@artica.es>
* pandora_console/include/functions_api.php: Added
a safe_input to fix entities problems in last feature
2012-07-31 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Added API function to

View File

@ -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));