mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
IcingaObject: fix full plain for empty multi rel
This commit is contained in:
parent
e557ea8f63
commit
d605bd7b06
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user