From c160fdec745ad85127518862db6b3c68b69236ae Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 26 Apr 2007 11:52:47 +0000 Subject: [PATCH] "bugfix: primary-group of current user was read from not always set $GLOBALS['egw']->accounts->data, instead just from $GLOBALS['egw_info']['user']" --- phpgwapi/inc/class.uiaccountsel.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {