#10152 fixed error 500 in notifications group
This commit is contained in:
parent
2db24935c0
commit
bc5e1c7541
|
@ -142,7 +142,7 @@ function users_get_groups_for_select(
|
|||
null
|
||||
);
|
||||
|
||||
if ($id_groups !== null) {
|
||||
if ($id_groups !== null && empty($id_groups) === false) {
|
||||
$children = groups_get_children($id_groups);
|
||||
foreach ($children as $child) {
|
||||
unset($user_groups[$child['id_grupo']]);
|
||||
|
|
Loading…
Reference in New Issue