From 424fc3136356f6725505567d37f7d4b7ce71fe46 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 6 Sep 2017 02:27:27 +0200 Subject: [PATCH] IcingaObject: unset imports, will be set later on --- library/Director/Objects/IcingaObject.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Director/Objects/IcingaObject.php b/library/Director/Objects/IcingaObject.php index ec2a07ec..3fa6bdfe 100644 --- a/library/Director/Objects/IcingaObject.php +++ b/library/Director/Objects/IcingaObject.php @@ -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