DirectorObjectForm: another "magic" column

Still ugly
This commit is contained in:
Thomas Gelf 2015-06-01 16:30:52 +02:00
parent f2b1df68c6
commit 01078199a6
1 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,10 @@ abstract class DirectorObjectForm extends QuickForm
$this->getElement('check_command_id')
->setMultiOptions($this->optionalEnum($db->enumCheckCommands()));
}
if ($this->hasElement('command_id')) {
$this->getElement('command_id')
->setMultiOptions($this->optionalEnum($db->enumCommands()));
}
return $this;
}