From 0d87da939faec55a4a979b7e48d416f8d8cd6946 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 5 Jun 2012 23:08:46 +0200 Subject: [PATCH] Fixed one of these awesome "BREAK DAT SETUP" errors ;) --- .../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 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); -- 2.20.1