fix is enterprise

This commit is contained in:
Daniel Barbero 2019-10-11 09:39:20 +02:00
parent 78643b2b99
commit 4fedfe92fc
2 changed files with 8 additions and 2 deletions

View File

@ -575,8 +575,11 @@ switch ($moduletype) {
3,
4,
5,
10,
];
if (enterprise_installed()) {
$categories[] = 10;
}
include 'module_manager_editor_common.php';
include 'module_manager_editor_network.php';
break;

View File

@ -264,8 +264,11 @@ if ($id_component_type == 6) {
3,
4,
5,
10,
];
if (enterprise_installed()) {
$categories[] = 10;
}
include $config['homedir'].'/godmode/modules/manage_network_components_form_common.php';
include $config['homedir'].'/godmode/modules/manage_network_components_form_network.php';
} else {