2010-10-08 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_common.php godmode/agentes/module_manager_editor.php: Fixed SQL error when try to create a module called 0 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
73f475bb04
commit
2af3b2fa76
|
@ -1,3 +1,9 @@
|
|||
2010-10-08 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager_editor_common.php
|
||||
godmode/agentes/module_manager_editor.php: Fixed SQL
|
||||
error when try to create a module called 0
|
||||
|
||||
2010-10-08 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* godmode/massive/massive_add_action_alerts.php,
|
||||
|
|
|
@ -289,7 +289,7 @@ if (isset ($extra_title))
|
|||
echo ' - '.$extra_title;
|
||||
echo '</h3>';
|
||||
|
||||
if($config['enterprise_installed']) {
|
||||
if($config['enterprise_installed'] && $id_agent_module) {
|
||||
if (isModuleInPolicy($id_agent_module)) {
|
||||
add_policy_linkation($id_agent_module);
|
||||
}
|
||||
|
|
|
@ -97,7 +97,7 @@ $disabledBecauseInPolicy = false;
|
|||
$disabledTextBecauseInPolicy = '';
|
||||
|
||||
$page = get_parameter('page', '');
|
||||
if (strstr($page, "policy_modules") === false) {
|
||||
if (strstr($page, "policy_modules") === false && $id_agent_module) {
|
||||
if ($config['enterprise_installed'])
|
||||
$disabledBecauseInPolicy = isModuleInPolicy($id_agent_module) && isModuleLinked($id_agent_module);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue