From: Alexander Ebert Date: Tue, 3 Mar 2015 19:35:21 +0000 (+0100) Subject: Fixed virtual sessions being considered within ACP X-Git-Tag: 2.1.1^0 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49481fcfa5f6be9e377a488e03259c7d72fa5b31;p=GitHub%2FWoltLab%2FWCF.git Fixed virtual sessions being considered within ACP --- diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 830231c740..093238cfc6 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->virtualSession = SessionVirtual::getExistingSession($sessionID); + if ($this->supportsVirtualSessions) $this->virtualSession = SessionVirtual::getExistingSession($sessionID); if (!$this->validate()) { $this->session = null; @@ -392,7 +392,7 @@ class SessionHandler extends SingletonFactory { return; } - $this->loadVirtualSession(); + if ($this->supportsVirtualSessions) $this->loadVirtualSession(); } /**