[BUGFIX] Fixed missing "/" in getRoute on some rare occasions.

This commit is contained in:
Simon Sessingø
2015-10-24 23:24:06 +02:00
parent 20fc067765
commit 2a66350883
+1 -1
View File
@@ -233,7 +233,7 @@ class RouterBase {
} else {
// If no parameters are specified in the route, assume that the provided parameters should be used.
if(count($parameters)) {
$url .= join('/', $parameters);
$url = rtrim($url, '/') . '/' . join('/', $parameters);
}
}
}