IcingaObject: unset imports, will be set later on
This commit is contained in:
parent
32fe4877fd
commit
424fc31363
|
@ -2419,6 +2419,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||||
$plain = (array) $object->toPlainObject(false, false);
|
$plain = (array) $object->toPlainObject(false, false);
|
||||||
unset($plain['vars']);
|
unset($plain['vars']);
|
||||||
unset($plain['groups']);
|
unset($plain['groups']);
|
||||||
|
unset($plain['imports']);
|
||||||
foreach ($plain as $p => $v) {
|
foreach ($plain as $p => $v) {
|
||||||
if ($v === null) {
|
if ($v === null) {
|
||||||
// We want default values, but no null values
|
// We want default values, but no null values
|
||||||
|
|
Loading…
Reference in New Issue