diff --git a/library/Director/Objects/IcingaObject.php b/library/Director/Objects/IcingaObject.php index a6f83e6f..e763ad42 100644 --- a/library/Director/Objects/IcingaObject.php +++ b/library/Director/Objects/IcingaObject.php @@ -1472,7 +1472,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer } foreach ($this->loadAllMultiRelations() as $key => $rel) { - if (count($rel)) { + if (count($rel) || !$skipDefaults) { $props[$key] = $rel->listRelatedNames(); } }