mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Brand new setup: fixed two issues
SVN:trunk[2250]
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user