diff --git a/application/forms/IcingaHostForm.php b/application/forms/IcingaHostForm.php index de710871..e86ea784 100644 --- a/application/forms/IcingaHostForm.php +++ b/application/forms/IcingaHostForm.php @@ -230,12 +230,14 @@ class IcingaHostForm extends DirectorObjectForm $links->addAttributes(['class' => 'strike-links']); /** @var BaseHtmlElement $link */ foreach ($links->getContent() as $link) { - $link->addAttributes([ - 'title' => $this->translate( - 'Group has been inherited, but will be overridden' - . ' by locally assigned group(s)' - ) - ]); + if ($link instanceof BaseHtmlElement) { + $link->addAttributes([ + 'title' => $this->translate( + 'Group has been inherited, but will be overridden' + . ' by locally assigned group(s)' + ) + ]); + } } } $this->addElement('simpleNote', 'inherited_groups', [ diff --git a/doc/82-Changelog.md b/doc/82-Changelog.md index 07479cc6..9653500b 100644 --- a/doc/82-Changelog.md +++ b/doc/82-Changelog.md @@ -4,6 +4,16 @@ Please make sure to always read our [Upgrading](05-Upgrading.md) documentation before switching to a new version. +next (will be 1.8.1) +-------------------- + +### Fixed issues +* You can find issues and feature requests related to this release on our + [roadmap](https://github.com/Icinga/icingaweb2-module-director/milestone/24?closed=1) + +### User Interface +* FIX: don't fail when showing a Host overriding multiple inherited groups (#2253) + 1.8.0 -----