Index: branches/5.2.x/core/units/helpers/user_helper.php =================================================================== diff -u -N -r14244 -r14432 --- branches/5.2.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 14244) +++ branches/5.2.x/core/units/helpers/user_helper.php (.../user_helper.php) (revision 14432) @@ -1,6 +1,6 @@ Application->Session->SetField('PortalUserId', $user_id); if ($user_id != USER_ROOT) { - $this->Application->Session->SetField('GroupList', $this->Application->RecallVar('UserGroups')); + $groups = $this->Application->RecallVar('UserGroups'); + $this->Application->Session->SetField('GroupId', reset( explode(',', $groups) )); + $this->Application->Session->SetField('GroupList', $groups); } $this->Application->LoadPersistentVars();