From dde3854be5963ea2d41a2a67d08ab5d6387e7538 Mon Sep 17 00:00:00 2001 From: skeeter Date: Mon, 19 Mar 2001 20:55:48 +0000 Subject: [PATCH] possible clarification in memberships() --- phpgwapi/inc/class.accounts_shared.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_shared.inc.php b/phpgwapi/inc/class.accounts_shared.inc.php index af037e48bd..63e68510d4 100644 --- a/phpgwapi/inc/class.accounts_shared.inc.php +++ b/phpgwapi/inc/class.accounts_shared.inc.php @@ -82,7 +82,8 @@ for ($idx=0; $idxmemberships[] = Array('account_id' => intval($security_equals[$idx]), 'account_name' => $this->id2name(intval($security_equals[$idx]))); + $groups = intval($security_equals[$idx]); + $this->memberships[] = Array('account_id' => $groups, 'account_name' => $this->id2name($groups)); } return $this->memberships;