mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Some fixes
This commit is contained in:
parent
d2710b2e66
commit
ae448e6eb8
@ -109,7 +109,6 @@ function add_component_selection($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] .= html_print_select(
|
||||
$component_groups,
|
||||
|
@ -265,7 +265,6 @@ function network_components_get_group($id_network_component_group, $filter=false
|
||||
*/
|
||||
function network_components_get_groups($id_module_components=0, $localComponent=false)
|
||||
{
|
||||
hd($id_module_components);
|
||||
// Special vars to keep track of indentation level
|
||||
static $level = 0;
|
||||
static $id_parent = 0;
|
||||
@ -297,8 +296,6 @@ function network_components_get_groups($id_module_components=0, $localComponent=
|
||||
$id_parent = $tmp;
|
||||
$level--;
|
||||
|
||||
hd($localComponent);
|
||||
|
||||
if ($localComponent) {
|
||||
if (! empty($childs)) {
|
||||
$retval[$group['id_sg']] = $prefix.$group['name'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user