From 596800bd7d9754c2c177b2292e09291d27bf35eb Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 5 Sep 2014 17:56:55 +0200 Subject: [PATCH] helpers/url: overwrite existing params --- library/Icinga/Web/View/helpers/url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/View/helpers/url.php b/library/Icinga/Web/View/helpers/url.php index 2fca99098..3056d3644 100644 --- a/library/Icinga/Web/View/helpers/url.php +++ b/library/Icinga/Web/View/helpers/url.php @@ -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;