mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +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()
|
||||
{
|
||||
if ($this->object->usesVarOverrides()) {
|
||||
if ($this->object && $this->object->usesVarOverrides()) {
|
||||
return $this->setupForVarOverrides();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user