mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
DirectorObjectForm: fix refs to missing field
The related field has not been pushed to master yet.
This commit is contained in:
parent
a4b2e7ed33
commit
f0607c33be
@ -721,10 +721,6 @@ abstract class DirectorObjectForm extends QuickForm
|
||||
return $object->$name;
|
||||
}
|
||||
|
||||
if (null !== ($val = $this->getElement('object_type')->getValue())) {
|
||||
return $val;
|
||||
}
|
||||
|
||||
return $default;
|
||||
} else {
|
||||
|
||||
@ -736,10 +732,6 @@ abstract class DirectorObjectForm extends QuickForm
|
||||
return $val;
|
||||
}
|
||||
|
||||
if (null !== ($val = $this->getElement('object_type')->getValue())) {
|
||||
return $val;
|
||||
}
|
||||
|
||||
return $default;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user