From d8089cd6ac5ca6d96cd74a88146576a0ab5a155b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sun, 18 Jun 2017 22:30:58 +0200 Subject: [PATCH] Update userID attribute on userChange --- .../install/files/lib/system/session/SessionHandler.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index c9bcc24915..b15af83693 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -495,6 +495,7 @@ class SessionHandler extends SingletonFactory { // update user reference $this->user = $user; + $this->userID = $this->user->userID ?: 0; if (!$hideSession) { // update session -- 2.20.1