SyncPropertyForm: run setup before mangling elements
This commit is contained in:
parent
03ffbb1de6
commit
87958a693f
|
@ -74,6 +74,7 @@ class SyncPropertyForm extends DirectorObjectForm
|
||||||
public function setDb($db)
|
public function setDb($db)
|
||||||
{
|
{
|
||||||
parent::setDb($db);
|
parent::setDb($db);
|
||||||
|
$this->prepareElements();
|
||||||
$this->getElement('rule_id')->setMultiOptions($this->optionalEnum($db->enumSyncRule()));
|
$this->getElement('rule_id')->setMultiOptions($this->optionalEnum($db->enumSyncRule()));
|
||||||
$this->getElement('source_id')->setMultiOptions($this->optionalEnum($db->enumImportSource()));
|
$this->getElement('source_id')->setMultiOptions($this->optionalEnum($db->enumImportSource()));
|
||||||
return $this;
|
return $this;
|
||||||
|
|
Loading…
Reference in New Issue