Sync: fix properties for IcingaObject instances
This commit is contained in:
parent
bd80862153
commit
29bcfff07f
|
@ -509,6 +509,10 @@ class Sync
|
||||||
} else {
|
} else {
|
||||||
$object->vars()->$varName = $val;
|
$object->vars()->$varName = $val;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if ($val !== null) {
|
||||||
|
$object->set($prop, $val);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($val !== null) {
|
if ($val !== null) {
|
||||||
|
|
Loading…
Reference in New Issue