// Fix physical_uri during install + required paramaters in dispatcher

This commit is contained in:
rMalie
2011-08-05 09:53:42 +00:00
parent da5be6a516
commit e1a4b160aa
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ class DispatcherCore
if (!array_key_exists($key, $params))
die("Dispatcher::createUrl() miss required parameter '$key' for route '$routeID'");
$queryParams[$key] = $params[$key];
$queryParams[$this->defaultRoutes[$routeID]['keywords'][$key]['param']] = $params[$key];
}
// Build an url which match a route