diff --git a/application/forms/IcingaServiceSetForm.php b/application/forms/IcingaServiceSetForm.php index 14fc8d71..775eea9b 100644 --- a/application/forms/IcingaServiceSetForm.php +++ b/application/forms/IcingaServiceSetForm.php @@ -62,9 +62,10 @@ class IcingaServiceSetForm extends DirectorObjectForm } if (count($object->get('imports'))) { - $this->addHtmlHint( - $object->getResolvedProperty('description') - ); + $description = $object->getResolvedProperty('description'); + if ($description) { + $this->addHtmlHint($description); + } } $this->addHidden('object_type', 'object');