IcingaServiceForm: relax checks for existing ones

This commit is contained in:
Thomas Gelf 2016-03-22 03:24:43 +01:00
parent e803385673
commit c02540dfaa
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class IcingaServiceForm extends DirectorObjectForm
$this->addHidden('object_type', 'object');
$this->addImportsElement();
$imports = $this->getSentOrObjectValue('imports');
if (empty($imports)) {
if ($this->isNew() && empty($imports)) {
return $this->groupMainProperties();
}