mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
helpers/url: overwrite existing params
This commit is contained in:
parent
315c2a6e51
commit
596800bd7d
@ -22,7 +22,7 @@ $this->addHelperFunction('url', function ($path = null, $params = null) {
|
||||
$url = Url::fromPath($path);
|
||||
}
|
||||
if ($params !== null) {
|
||||
$url->setParams($params);
|
||||
$url->overwriteParams($params);
|
||||
}
|
||||
|
||||
return $url;
|
||||
|
Loading…
x
Reference in New Issue
Block a user