"bugfix: primary-group of current user was read from not always set $GLOBALS['egw']->accounts->data, instead just from $GLOBALS['egw_info']['user']"

This commit is contained in:
Ralf Becker 2007-04-26 11:52:47 +00:00
parent 3192eaf2c6
commit c160fdec74

View File

@ -151,7 +151,7 @@ class uiaccountsel extends accounts
case 'groupmembers':
if ($account_sel == 'primary_group')
{
$memberships = array($GLOBALS['egw']->accounts->data['account_primary_group']);
$memberships = array($GLOBALS['egw_info']['user']['account_primary_group']);
}
else
{