IcingaServiceForm: no override check on new object

This commit is contained in:
Thomas Gelf 2016-09-09 13:25:57 +00:00
parent 82bd6be8bf
commit ffe16b472c

View File

@ -30,7 +30,7 @@ class IcingaServiceForm extends DirectorObjectForm
public function setup()
{
if ($this->object->usesVarOverrides()) {
if ($this->object && $this->object->usesVarOverrides()) {
return $this->setupForVarOverrides();
}