From 312a61b60fbe8e0650e224d84cf6f3bcbf9e7e89 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 1 Jun 2012 12:47:20 +0200 Subject: [PATCH] Use empty username during setup Fixes #625 --- .../install/files/lib/system/session/SessionHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index d108e0bd62..ed6987103d 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -344,7 +344,7 @@ class SessionHandler extends SingletonFactory { 'sessionID' => $sessionID, 'packageID' => PACKAGE_ID, 'userID' => $this->user->userID, - 'username' => $this->user->username, + 'username' => (PACKAGE_ID) ? $this->user->username : '', 'ipAddress' => UserUtil::getIpAddress(), 'userAgent' => UserUtil::getUserAgent(), 'lastActivityTime' => TIME_NOW, -- 2.20.1