minor fix
This commit is contained in:
parent
3220217ec8
commit
f744261821
|
@ -168,7 +168,15 @@ if ($id_group) {
|
|||
}
|
||||
} else {
|
||||
$table->data[2][1] = '<div class="w250px inline">';
|
||||
$table->data[2][1] .= html_print_select_groups(false, 'AR', true, 'id_parent', $id_parent, '', '', '', true);
|
||||
$table->data[2][1] .= html_print_input(
|
||||
[
|
||||
'type' => 'select_groups',
|
||||
'name' => 'id_parent',
|
||||
'selected' => $id_parent,
|
||||
'return' => true,
|
||||
'returnAllGroup' => true,
|
||||
]
|
||||
);
|
||||
$table->data[2][1] .= '</div>';
|
||||
}
|
||||
|
||||
|
|
|
@ -500,7 +500,7 @@ function html_print_select_groups(
|
|||
$name = 'group_select'.$idcounter[$name];
|
||||
}
|
||||
|
||||
if ($id_group !== null) {
|
||||
if ($id_group !== false) {
|
||||
$children = groups_get_children($id_group);
|
||||
foreach ($children as $child) {
|
||||
$delete_groups[] = $child['id_grupo'];
|
||||
|
|
Loading…
Reference in New Issue