mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
minor fix
This commit is contained in:
parent
3220217ec8
commit
f744261821
@ -168,7 +168,15 @@ if ($id_group) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$table->data[2][1] = '<div class="w250px inline">';
|
$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>';
|
$table->data[2][1] .= '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -500,7 +500,7 @@ function html_print_select_groups(
|
|||||||
$name = 'group_select'.$idcounter[$name];
|
$name = 'group_select'.$idcounter[$name];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($id_group !== null) {
|
if ($id_group !== false) {
|
||||||
$children = groups_get_children($id_group);
|
$children = groups_get_children($id_group);
|
||||||
foreach ($children as $child) {
|
foreach ($children as $child) {
|
||||||
$delete_groups[] = $child['id_grupo'];
|
$delete_groups[] = $child['id_grupo'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user