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