Merge branch 'ent-8653-No-funciona-selector-de-grupos-en-apartado-de-perfil-en-creacion-edicion-de-usuario' into 'develop'
fix group selector in user creation and user edition view See merge request artica/pandorafms!4728
This commit is contained in:
commit
f69ade2ca0
|
@ -567,7 +567,7 @@ function groups_get_groups_tree_recursive($groups, $trash=0, $trash2=0)
|
|||
|
||||
$tree = $groups;
|
||||
foreach ($groups as $key => $group) {
|
||||
if ($group['id_grupo'] == 0) {
|
||||
if (is_array($group) === false || (int) $group['id_grupo'] === 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue