Index: branches/unlabeled/unlabeled-1.46.16/kernel/include/usersession.php =================================================================== diff -u -r3509 -r3936 --- branches/unlabeled/unlabeled-1.46.16/kernel/include/usersession.php (.../usersession.php) (revision 3509) +++ branches/unlabeled/unlabeled-1.46.16/kernel/include/usersession.php (.../usersession.php) (revision 3936) @@ -554,7 +554,7 @@ $this->Set("GroupId", $objConfig->Get("User_GuestGroup")); #$this->SetPersistantVariable("LastLogin", adodb_mktime()); - if ($FrontEnd) $group_list = $objConfig->Get('User_GuestGroup').','.$objConfig->Get('User_LoggedInGroup'); + $group_list = $FrontEnd ? $objConfig->Get('User_GuestGroup').','.$objConfig->Get('User_LoggedInGroup') : ''; $this->Set("GroupList", $group_list); $this->SetVariable('UserGroups', $group_list ); Index: branches/unlabeled/unlabeled-1.48.2/kernel/include/modules.php =================================================================== diff -u -r3885 -r3936 --- branches/unlabeled/unlabeled-1.48.2/kernel/include/modules.php (.../modules.php) (revision 3885) +++ branches/unlabeled/unlabeled-1.48.2/kernel/include/modules.php (.../modules.php) (revision 3936) @@ -997,9 +997,9 @@ } } -/*if (strstr($_SERVER['SCRIPT_NAME'], 'install') && $objSession->Get("PortalUserId") == -2) { +if (strstr($_SERVER['SCRIPT_NAME'], 'install') && $objSession->Get("PortalUserId") == 0) { $objSession->Delete(); -}*/ +} if( !isset($SearchPerformed) ) $SearchPerformed = false; if($SearchPerformed == true) $objSearch->BuildIndexes();