Skip to content

Commit

Permalink
Fixed issue #13958: Error updating the database schema from verson 35…
Browse files Browse the repository at this point in the history
…3 to 355
  • Loading branch information
lacrioque committed Aug 23, 2018
1 parent 18825d7 commit 5fc8212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/update/updatedb_helper.php
Expand Up @@ -2288,7 +2288,7 @@ function db_upgrade_all($iOldDBVersion, $bSilent = false)
foreach($aDefaultSurveyMenus as $i => $aSurveymenu) {
$oDB->createCommand()->delete('{{surveymenu}}', 'name=:name', [':name' => $aSurveymenu['name']]);
$oDB->createCommand()->insert('{{surveymenu}}', $aSurveymenu);
$aIdMap[$aSurveymenu['name']] = $oDB->getLastInsertId();
$aIdMap[$aSurveymenu['name']] = $oDB->getCommandBuilder()->getLastInsertID('{{surveymenu}}');
}

$aDefaultSurveyMenuEntries = LsDefaultDataSets::getSurveyMenuEntryData();
Expand Down

0 comments on commit 5fc8212

Please sign in to comment.