DirectorObjectForm: run setup() before object
This commit is contained in:
parent
a8b2eeeaf7
commit
d2d7565887
|
@ -204,6 +204,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||
|
||||
public function loadObject($id)
|
||||
{
|
||||
$this->prepareElements();
|
||||
$class = $this->getObjectClassname();
|
||||
$this->object = $class::load($id, $this->db);
|
||||
if (! is_array($id)) {
|
||||
|
|
Loading…
Reference in New Issue