possible clarification in memberships()

This commit is contained in:
skeeter 2001-03-19 20:55:48 +00:00
parent 4b31a3a93b
commit dde3854be5

View File

@ -82,7 +82,8 @@
for ($idx=0; $idx<count($security_equals); $idx++)
{
$this->memberships[] = 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;