diff --git a/library/Director/Objects/IcingaZone.php b/library/Director/Objects/IcingaZone.php index 338f3edc..c4fa101d 100644 --- a/library/Director/Objects/IcingaZone.php +++ b/library/Director/Objects/IcingaZone.php @@ -22,13 +22,17 @@ class IcingaZone extends IcingaObject ); protected $relations = array( - 'parent_zone_id' => 'IcingaZone', + 'parent_zone' => 'IcingaZone', ); protected $supportsImports = true; protected function renderParent_zone_id() { - return $this->renderZoneProperty($this->parent_zone_id, 'parent_zone'); + return $this->renderRelationProperty( + 'parent_zone', + $this->parent_zone_id, + 'parent' + ); } }