From: Matthias Schmidt Date: Sat, 21 May 2016 16:30:44 +0000 (+0200) Subject: Add missing required parameter in StaticRequestRoute::matches() X-Git-Tag: 3.0.0_Beta_1~1681^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c66227e1a72f3c322d2c65a7fdf739351f90b559;p=GitHub%2FWoltLab%2FWCF.git Add missing required parameter in StaticRequestRoute::matches() --- 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;