diff --git a/phpgwapi/inc/class.uiaccountsel.inc.php b/phpgwapi/inc/class.uiaccountsel.inc.php index 7c5b6a72d9..13c3678542 100644 --- a/phpgwapi/inc/class.uiaccountsel.inc.php +++ b/phpgwapi/inc/class.uiaccountsel.inc.php @@ -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 {