fixed typo, that prevented the group profiles to load properly

This commit is contained in:
Klaus Leithoff 2009-11-18 14:05:57 +00:00
parent b62769624e
commit f7586299c0

View File

@ -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'];