diff --git a/library/Icinga/Web/UrlParams.php b/library/Icinga/Web/UrlParams.php index bdf776401..1c839960d 100644 --- a/library/Icinga/Web/UrlParams.php +++ b/library/Icinga/Web/UrlParams.php @@ -181,6 +181,9 @@ class UrlParams $this->set($k, $v); } } else { + if (! is_array($values)) { + $values = array($values); + } foreach ($values as $value) { $this->set($param, $value); }