mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-10 23:52:14 +00:00
Development
- Only add $_GET param is every other parameter is null when calling getUrl.
This commit is contained in:
@@ -311,7 +311,7 @@ class SimpleRouter
|
||||
* @param array|null $getParams
|
||||
* @return string
|
||||
*/
|
||||
public static function getUrl($name = null, $parameters = null, $getParams = [])
|
||||
public static function getUrl($name = null, $parameters = null, $getParams = null)
|
||||
{
|
||||
return static::router()->getUrl($name, $parameters, $getParams);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user