From: Marcel Werk Date: Fri, 12 Apr 2013 12:58:35 +0000 (+0200) Subject: Fixed forceFrontend Parameter X-Git-Tag: 2.0.0_Beta_1~380 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c5614b1a68d6854431f0101e5c39915c5b66865a;p=GitHub%2FWoltLab%2FWCF.git Fixed forceFrontend Parameter --- 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