mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00:00
[BUGFIX] Merge current parameters with new provided ones.
This commit is contained in:
@@ -281,6 +281,7 @@ class RouterBase {
|
||||
}
|
||||
|
||||
if($controller === null && $parameters === null && $this->loadedRoute !== null) {
|
||||
$getParams = (is_array($getParams)) ? array_merge($_GET, $getParams) : $_GET;
|
||||
return $this->processUrl($this->loadedRoute, null, null, $getParams);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user