fix for issue #27946 #829

Merged
merged 3 commits into from Jun 14, 2012
@@ -181,7 +181,7 @@ public static function setUserGroups($userId, $groups)
// Set the titles for the user groups.
for ($i = 0, $n = count($results); $i < $n; $i++)
{
- $user->groups[$results[$i]->id] = $results[$i]->title;
+ $user->groups[$results[$i]->id] = $results[$i]->id;
}
// Store the user object.