IcingaServiceSetForm: hide empty descriptions
This commit is contained in:
parent
05a8918f07
commit
b6c0895d33
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue