Fixed regression introduced a few months ago when reworking the dashboard edition (after the release of 2.0.1)

SVN:trunk[2922]
This commit is contained in:
Romain Quetiez
2013-10-16 11:43:21 +00:00
parent 440f50259b
commit 3022ba9b1a

View File

@@ -733,7 +733,8 @@ EOF
foreach($aDashlets as $sDashletClass => $aDashletInfo)
{
$oSubForm = new DesignerForm();
$oDashlet = new $sDashletClass($this->oMetaModel, 0);
$oMetaModel = new ModelReflectionRuntime();
$oDashlet = new $sDashletClass($oMetaModel, 0);
$oDashlet->GetPropertiesFieldsFromOQL($oSubForm, $sOQL);
$oSelectorField->AddSubForm($oSubForm, $aDashletInfo['label'], $aDashletInfo['class']);