2012-07-26 Hirofumi Kosaka <kosaka@rworks.jp>

* godmode/agentes/module_manager_editor_common.php:
	bug fix for enterprise version. 'Disable' checkbox was not
	enabled when you unlinked modules from policies.

	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2012-07-26 04:24:36 +00:00
parent c23539ae46
commit c810e3ec39
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2012-07-26 Hirofumi Kosaka <kosaka@rworks.jp>
* godmode/agentes/module_manager_editor_common.php:
bug fix for enterprise version. 'Disable' checkbox was not
enabled when you unlinked modules from policies.
Merged from 4.0.2
2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php: fixed the javascript

View File

@ -134,7 +134,7 @@ if (!empty($id_agent_module) && isset($id_agente)) {
}
$disabled_enable = 0;
$policy_link = db_get_value('id_policy_module', 'tagente_modulo', 'id_agente_modulo', $id_agent_module);
$policy_link = db_get_value('policy_linked', 'tagente_modulo', 'id_agente_modulo', $id_agent_module);
if ($policy_link != 0) {
$disabled_enable = 1;
}