From e6fac1cae9428760436179efc10cc7989c2d64b9 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 15 Dec 2016 04:05:19 +0100 Subject: [PATCH] Fixed handling of i18n cms pages as landing pages --- .../install/files/lib/system/request/ControllerMap.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcfsetup/install/files/lib/system/request/ControllerMap.class.php b/wcfsetup/install/files/lib/system/request/ControllerMap.class.php index 72578d66c0..99f27da6d1 100644 --- a/wcfsetup/install/files/lib/system/request/ControllerMap.class.php +++ b/wcfsetup/install/files/lib/system/request/ControllerMap.class.php @@ -247,6 +247,10 @@ class ControllerMap extends SingletonFactory { return false; } else { + if ($matches['controller'] == $this->landingPages[$application][0] && isset($this->customUrls['lookup'][$application]['']) && $this->customUrls['lookup'][$application][''] !== $controller) { + return false; + } + $controller = $matches['controller']; } } -- 2.20.1