2014-07-08 Hirofumi Kosaka <kosaka@rworks.jp>

* include/functions_api.php: Fixed that 'set enable_module'
	had not worked.

	MERGED FROM BRANCH 5.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2014-07-08 03:50:42 +00:00
parent 7bc036aafe
commit a73cf5731f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2014-07-08 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Fixed that 'set enable_module'
had not worked.
MERGED FROM BRANCH 5.0
2014-07-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: show in the tooltip of

View File

@ -6064,7 +6064,7 @@ function api_set_enable_module ($agent_name, $module_name, $thrast3, $thrash4) {
$id_agent = agents_get_agent_id($agent_name);
$id_agent_module = db_get_value_filter('id_agente_modulo', 'tagente_modulo', array('id_agente' => $id_agent, 'nombre' => $module_name));
$result = modules_change_disabled($id_agent_module, 1);
$result = modules_change_disabled($id_agent_module, 0);
if ($result === NOERR) {
returnData('string', array('type' => 'string', 'data' => __('Correct module enable')));