From 390ed321c9d813e6d7c02c089c4ac0600130d008 Mon Sep 17 00:00:00 2001 From: jsatoh Date: Fri, 27 Aug 2010 02:03:34 +0000 Subject: [PATCH] 2010-08-27 Junichi Satoh * godmode/agents/module_manager_editor.php: Changed if() statements order. isModuleInPolicy() is not available in open source version. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/agentes/module_manager_editor.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d502a96cad..3bf0d21d82 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-08-27 Junichi Satoh + + * godmode/agents/module_manager_editor.php: Changed if() statements + order. isModuleInPolicy() is not available in open source version. + 2010-08-26 Sancho Lerena * include/functions_custom_graphs.php: Fixed ACL problems. diff --git a/pandora_console/godmode/agentes/module_manager_editor.php b/pandora_console/godmode/agentes/module_manager_editor.php index a218b25ac4..6574a2f56a 100644 --- a/pandora_console/godmode/agentes/module_manager_editor.php +++ b/pandora_console/godmode/agentes/module_manager_editor.php @@ -282,8 +282,8 @@ if (isset ($extra_title)) echo ' - '.$extra_title; echo ''; -if (isModuleInPolicy($id_agent_module)) { - if($config['enterprise_installed']) { +if($config['enterprise_installed']) { + if (isModuleInPolicy($id_agent_module)) { add_policy_linkation($id_agent_module); } }