From: Alexander Ebert Date: Tue, 5 Jun 2012 21:08:46 +0000 (+0200) Subject: Fixed one of these awesome "BREAK DAT SETUP" errors ;) X-Git-Tag: 2.0.0_Beta_1~1080 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d87da939faec55a4a979b7e48d416f8d8cd6946;p=GitHub%2FWoltLab%2FWCF.git Fixed one of these awesome "BREAK DAT SETUP" errors ;) --- diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 1b06611b7f..2d9d4bcd17 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' => RequestHandler::getInstance()->getActiveRequest()->getClassName() + 'controller' => (PACKAGE_ID) ? RequestHandler::getInstance()->getActiveRequest()->getClassName() : '' ); if ($this->variablesChanged) { $data['sessionVariables'] = serialize($this->variables);