mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +02:00
Web\UrlParams: allow to merge single value
This commit is contained in:
parent
51366e2c22
commit
33d2175b77
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user