diff --git a/library/Director/Objects/IcingaObjectImports.php b/library/Director/Objects/IcingaObjectImports.php index 289df9f0..517424b0 100644 --- a/library/Director/Objects/IcingaObjectImports.php +++ b/library/Director/Objects/IcingaObjectImports.php @@ -100,6 +100,7 @@ class IcingaObjectImports implements Iterator, Countable, IcingaConfigRenderer foreach ($import as $i) { if ($i instanceof $class) { + $this->objects[$i->object_name] = $i; $new[] = $i->object_name; } else { $new[] = $i;