From c66227e1a72f3c322d2c65a7fdf739351f90b559 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 21 May 2016 18:30:44 +0200 Subject: [PATCH] Add missing required parameter in StaticRequestRoute::matches() --- .../files/lib/system/request/route/StaticRequestRoute.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/request/route/StaticRequestRoute.class.php b/wcfsetup/install/files/lib/system/request/route/StaticRequestRoute.class.php index cd83b7bce8..6ace2b9b07 100644 --- a/wcfsetup/install/files/lib/system/request/route/StaticRequestRoute.class.php +++ b/wcfsetup/install/files/lib/system/request/route/StaticRequestRoute.class.php @@ -77,7 +77,7 @@ class StaticRequestRoute extends DynamicRequestRoute { public function matches($requestURL) { if (parent::matches($requestURL)) { $this->routeData['application'] = $this->staticApplication; - $this->routeData['controller'] = ControllerMap::getInstance()->lookup($this->staticController); + $this->routeData['controller'] = ControllerMap::getInstance()->lookup($this->staticApplication, $this->staticController); $this->routeData['isDefaultController'] = false; return true; -- 2.20.1