mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-06-09 00:33:03 -04:00
IcingaObjectFieldLoader: check for fields support
This commit is contained in:
parent
00f21f838b
commit
0db659cc4e
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ class IcingaObjectFieldLoader
|
|||
|
||||
public function addFieldsToForm(QuickForm $form)
|
||||
{
|
||||
if ($this->object->supportsCustomVars()) {
|
||||
if ($this->object->supportsFields()) {
|
||||
$this->attachFieldsToForm($form);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue