mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
fixed typo, that prevented the group profiles to load properly
This commit is contained in:
parent
b62769624e
commit
f7586299c0
@ -472,7 +472,7 @@
|
||||
// initialize with 0 => means no group id
|
||||
$groups = array(0);
|
||||
// set the second entry to the users primary group
|
||||
$group[] = $GLOBALS['egw_info']['user']['account_primary_group'];
|
||||
$groups[] = $GLOBALS['egw_info']['user']['account_primary_group'];
|
||||
$userGroups = $GLOBALS['egw']->accounts->membership($GLOBALS['egw_info']['user']['account_id']);
|
||||
foreach((array)$userGroups as $groupInfo) {
|
||||
$groups[] = $groupInfo['account_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user