From: Marcel Werk Date: Thu, 7 Jun 2012 20:59:18 +0000 (+0200) Subject: Fixed small issue X-Git-Tag: 2.0.0_Beta_1~1073 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bdc825b1f97e424e1d25065a463b81d539422baa;p=GitHub%2FWoltLab%2FWCF.git Fixed small issue --- 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);