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:
parent
d12c23c21c
commit
990da2e5f2
|
@ -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>
|
2012-07-31 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/functions_api.php: Added API function to
|
* include/functions_api.php: Added API function to
|
||||||
|
|
|
@ -3246,7 +3246,7 @@ function api_set_add_module_in_conf($id_agent, $module_name, $configuration_data
|
||||||
* @return string success or error message
|
* @return string success or error message
|
||||||
*/
|
*/
|
||||||
function api_get_module_from_conf($id_agent, $module_name, $thrash2, $thrash3) {
|
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) {
|
if($result !== ENTERPRISE_NOT_HOOK) {
|
||||||
returnData('string', array('type' => 'string', 'data' => $result));
|
returnData('string', array('type' => 'string', 'data' => $result));
|
||||||
|
|
Loading…
Reference in New Issue