Index: branches/RC/core/kernel/application.php =================================================================== diff -u -N -r11082 -r11085 --- branches/RC/core/kernel/application.php (.../application.php) (revision 11082) +++ branches/RC/core/kernel/application.php (.../application.php) (revision 11085) @@ -327,6 +327,16 @@ $this->Debugger->appendTimestamp('Processed Session'); } + if (!$this->RecallVar('UserGroups')) { + $user_groups = trim($this->Session->GetField('GroupList'), ','); + if (!$user_groups) { + $user_groups = $this->ConfigValue('User_GuestGroup'); + } + + $this->Session->SetField('GroupList', $user_groups); + $this->StoreVar('UserGroups', $user_groups); + } + $this->HttpQuery->AfterInit(); $this->Session->ValidateExpired(); @@ -358,13 +368,6 @@ $this->Phrases = new PhrasesCache(); }*/ - if(!$this->RecallVar('UserGroups')) { - $session =& $this->recallObject('Session'); - $user_groups = trim($session->GetField('GroupList'), ','); - if (!$user_groups) $user_groups = $this->ConfigValue('User_GuestGroup'); - $this->StoreVar('UserGroups', $user_groups); - } - if ($this->GetVar('m_cat_id') === false) $this->SetVar('m_cat_id', 0); if( !$this->RecallVar('curr_iso') ) $this->StoreVar('curr_iso', $this->GetPrimaryCurrency() );