From bdc825b1f97e424e1d25065a463b81d539422baa Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 7 Jun 2012 22:59:18 +0200 Subject: [PATCH] Fixed small issue --- .../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 2d9d4bcd17..af23c2e1ef 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -514,7 +514,7 @@ class SessionHandler extends SingletonFactory { 'requestMethod' => $this->requestMethod, 'lastActivityTime' => TIME_NOW, 'packageID' => PACKAGE_ID, - 'controller' => (PACKAGE_ID) ? RequestHandler::getInstance()->getActiveRequest()->getClassName() : '' + 'controller' => (PACKAGE_ID && RequestHandler::getInstance()->getActiveRequest()) ? RequestHandler::getInstance()->getActiveRequest()->getClassName() : '' ); if ($this->variablesChanged) { $data['sessionVariables'] = serialize($this->variables); -- 2.20.1