mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaObjectModification: loop with an array
This commit is contained in:
parent
2897415a1f
commit
5002f7a6bf
@ -102,7 +102,7 @@ class IcingaObjectModification
|
||||
{
|
||||
// TODO: dots in varnames -> throw or escape?
|
||||
if (isset($properties[$property])) {
|
||||
foreach ($properties[$property] as $key => $value) {
|
||||
foreach ((array) $properties[$property] as $key => $value) {
|
||||
$properties["$property.$key"] = $value;
|
||||
}
|
||||
unset($properties[$property]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user