diff --git a/doc/82-Changelog.md b/doc/82-Changelog.md index 57984c43..9b57be58 100644 --- a/doc/82-Changelog.md +++ b/doc/82-Changelog.md @@ -32,6 +32,9 @@ next (will be 1.8.0) * FEATURE: UTF8 validation for failed imports gives better error message (#2143) * FIX: LDAP Import is now able to paginate limited results (#2019) +### Icinga Configuration +* FIX: Correctly render Service Dependencies with Array-style parent hosts (#2088) + ### REST API * FEATURE: Self Service API ignores empty/missing properties (e.g. no address) diff --git a/library/Director/Objects/IcingaDependency.php b/library/Director/Objects/IcingaDependency.php index 125905bf..a6876b73 100644 --- a/library/Director/Objects/IcingaDependency.php +++ b/library/Director/Objects/IcingaDependency.php @@ -211,8 +211,8 @@ class IcingaDependency extends IcingaObject implements ExportInterface if ($this->parentHostIsVar()) { return preg_replace( '/\n$/m', - $this->renderAssignFilterExtension(), - parent::renderAssign_Filter() . "\n" + $this->renderAssignFilterExtension() . "\n", + parent::renderAssign_Filter() ); } else { return parent::renderAssign_Filter();