From c6377d61b32b390c7a1c7d291c2743d70c2f8006 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 27 Nov 2012 21:53:07 +0100 Subject: [PATCH] Fixed template id --- .../install/files/lib/system/request/RequestHandler.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index 0a50d54182..dfbf51eef5 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -47,6 +47,9 @@ class RequestHandler extends SingletonFactory { // handle offline mode if (!$isACPRequest && defined('OFFLINE') && OFFLINE) { if (!WCF::getSession()->getPermission('admin.general.canViewPageDuringOfflineMode') && !$this->activeRequest->isAvailableDuringOfflineMode()) { + WCF::getTPL()->assign(array( + 'templateName' => 'offline' + )); WCF::getTPL()->display('offline'); exit; } -- 2.20.1