parent
f2b1df68c6
commit
01078199a6
|
@ -112,6 +112,10 @@ abstract class DirectorObjectForm extends QuickForm
|
||||||
$this->getElement('check_command_id')
|
$this->getElement('check_command_id')
|
||||||
->setMultiOptions($this->optionalEnum($db->enumCheckCommands()));
|
->setMultiOptions($this->optionalEnum($db->enumCheckCommands()));
|
||||||
}
|
}
|
||||||
|
if ($this->hasElement('command_id')) {
|
||||||
|
$this->getElement('command_id')
|
||||||
|
->setMultiOptions($this->optionalEnum($db->enumCommands()));
|
||||||
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue