Wip command center, check versions php.ini

This commit is contained in:
Daniel Barbero Martin 2021-06-17 17:09:44 +02:00
parent 50c7394e7d
commit 6366040ec2
2 changed files with 1 additions and 5 deletions

View File

@ -109,7 +109,6 @@ function add_component_selection($id_network_component_type)
$component_groups = network_components_get_groups($id_network_component_type); $component_groups = network_components_get_groups($id_network_component_type);
hd($component_groups);
$data[1] = '<span id="component_group" class="left">'; $data[1] = '<span id="component_group" class="left">';
$data[1] .= html_print_select( $data[1] .= html_print_select(
$component_groups, $component_groups,

View File

@ -265,8 +265,7 @@ function network_components_get_group($id_network_component_group, $filter=false
*/ */
function network_components_get_groups($id_module_components=0, $localComponent=false) function network_components_get_groups($id_module_components=0, $localComponent=false)
{ {
hd($id_module_components); // Special vars to keep track of indentation level.
// Special vars to keep track of indentation level
static $level = 0; static $level = 0;
static $id_parent = 0; static $id_parent = 0;
global $config; global $config;
@ -297,8 +296,6 @@ function network_components_get_groups($id_module_components=0, $localComponent=
$id_parent = $tmp; $id_parent = $tmp;
$level--; $level--;
hd($localComponent);
if ($localComponent) { if ($localComponent) {
if (! empty($childs)) { if (! empty($childs)) {
$retval[$group['id_sg']] = $prefix.$group['name']; $retval[$group['id_sg']] = $prefix.$group['name'];