mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 03:09:11 +02:00
IcingaServiceForm: no override check on new object
This commit is contained in:
parent
82bd6be8bf
commit
ffe16b472c
@ -30,7 +30,7 @@ class IcingaServiceForm extends DirectorObjectForm
|
|||||||
|
|
||||||
public function setup()
|
public function setup()
|
||||||
{
|
{
|
||||||
if ($this->object->usesVarOverrides()) {
|
if ($this->object && $this->object->usesVarOverrides()) {
|
||||||
return $this->setupForVarOverrides();
|
return $this->setupForVarOverrides();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user