From 06fa4443f236a0d3852147555d63e69ddf0abac6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 2 Mar 2015 19:39:09 +0100 Subject: [PATCH] Fixed virtual session validation --- .../install/files/lib/system/session/SessionHandler.class.php | 4 +++- 1 file changed, 3 insertions(+), 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 1b3229c1e8..830231c740 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -382,7 +382,7 @@ class SessionHandler extends SingletonFactory { } $this->user = new User($this->session->userID); - $this->loadVirtualSession(); + $this->virtualSession = SessionVirtual::getExistingSession($sessionID); if (!$this->validate()) { $this->session = null; @@ -391,6 +391,8 @@ class SessionHandler extends SingletonFactory { return; } + + $this->loadVirtualSession(); } /** -- 2.20.1