We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5310869 + 8bddc36 commit 2d70eb4Copy full SHA for 2d70eb4
1 file changed
library/Vspheredb/Monitoring/Rule/MonitoringRulesTree.php
@@ -88,8 +88,7 @@ public function hasConfigurationForUuid($uuid): bool
88
public function getInheritedSettingsFor(BaseDbObject $object): InheritedSettings
89
{
90
$uuid = $object->object()->get('parent_uuid');
91
- $parents = $this->listParentUuidsFor($uuid);
92
- $parents[] = $uuid;
+ $parents = [$uuid, ...$this->listParentUuidsFor($uuid)];
93
94
return InheritedSettings::loadForUuids($parents, $this, $this->db);
95
}
0 commit comments