Index: core/units/helpers/user_helper.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- core/units/helpers/user_helper.php (revision 15637) +++ core/units/helpers/user_helper.php (revision ) @@ -160,6 +160,7 @@ function loginUserById($user_id, $remember_login_cookie = false) { $object =& $this->getUserObject(); + $this->Application->removeObject($object->getPrefixSpecial()); $this->Application->StoreVar('user_id', $user_id); $this->Application->SetVar('u.current_id', $user_id);