Add missing required parameter in StaticRequestRoute::matches()
authorMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 16:30:44 +0000 (18:30 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 18:42:02 +0000 (20:42 +0200)
wcfsetup/install/files/lib/system/request/route/StaticRequestRoute.class.php

index cd83b7bce8dac9f2cc4738eea143f7c1274484fa..6ace2b9b0726357b4256492e9d89a2d2d33bf12f 100644 (file)
@@ -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;