IcingaObject: unset imports, will be set later on

This commit is contained in:
Thomas Gelf 2017-09-06 02:27:27 +02:00
parent 32fe4877fd
commit 424fc31363
1 changed files with 1 additions and 0 deletions

View File

@ -2419,6 +2419,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
$plain = (array) $object->toPlainObject(false, false);
unset($plain['vars']);
unset($plain['groups']);
unset($plain['imports']);
foreach ($plain as $p => $v) {
if ($v === null) {
// We want default values, but no null values