mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +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;
|
return $object->$name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null !== ($val = $this->getElement('object_type')->getValue())) {
|
|
||||||
return $val;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $default;
|
return $default;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
@ -736,10 +732,6 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
return $val;
|
return $val;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (null !== ($val = $this->getElement('object_type')->getValue())) {
|
|
||||||
return $val;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $default;
|
return $default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user