Brand new setup: fixed two issues

SVN:trunk[2250]
This commit is contained in:
Romain Quetiez
2012-10-10 14:22:22 +00:00
parent 3e5581dd24
commit 1bd9e77a87
2 changed files with 2 additions and 2 deletions

View File

@@ -432,7 +432,7 @@ class RunTimeEnvironment
$oInstallRec = new ModuleInstallation();
$oInstallRec->Set('name', DATAMODEL_MODULE);
$oInstallRec->Set('version', $sDataModelVersion);
$oInstallRec->Set('comment', json_encode($aData, true));
$oInstallRec->Set('comment', json_encode($aData));
$oInstallRec->Set('parent_id', 0); // root module
$iMainItopRecord = $oInstallRec->DBInsertNoReload();

View File

@@ -1443,7 +1443,7 @@ EOF
if (count($aSteps[count($aSteps) - 1]['options']) == 0)
{
// No extensions at all, remove the last step
unset($aSteps[1]);
array_pop($aSteps);
}
if (array_key_exists($index, $aSteps))