DirectorObjectForm: run setup() before object

This commit is contained in:
Thomas Gelf 2015-07-28 11:39:18 +02:00
parent a8b2eeeaf7
commit d2d7565887
1 changed files with 1 additions and 0 deletions

View File

@ -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)) {