From c5614b1a68d6854431f0101e5c39915c5b66865a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 12 Apr 2013 14:58:35 +0200 Subject: [PATCH] Fixed forceFrontend Parameter --- .../files/lib/system/request/LinkHandler.class.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/request/LinkHandler.class.php b/wcfsetup/install/files/lib/system/request/LinkHandler.class.php index c9da8e77dd..4b62fbd709 100644 --- a/wcfsetup/install/files/lib/system/request/LinkHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/LinkHandler.class.php @@ -66,9 +66,12 @@ class LinkHandler extends SingletonFactory { $appendSession = false; } } - if (!empty($parameters['forceFrontend']) && $isACP) { - $isACP = false; - $appendSession = false; + if (isset($parameters['forceFrontend'])) { + if ($parameters['forceFrontend'] && $isACP) { + $isACP = false; + $appendSession = false; + } + unset($parameters['forceFrontend']); } // remove anchor before parsing -- 2.20.1