mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 11:29:12 +02:00
fix group selector in user creation and user edition view
This commit is contained in:
parent
6f23817373
commit
69749e9498
@ -567,7 +567,7 @@ function groups_get_groups_tree_recursive($groups, $trash=0, $trash2=0)
|
|||||||
|
|
||||||
$tree = $groups;
|
$tree = $groups;
|
||||||
foreach ($groups as $key => $group) {
|
foreach ($groups as $key => $group) {
|
||||||
if ($group['id_grupo'] == 0) {
|
if (is_array($group) === false || (int) $group['id_grupo'] === 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user