Skip to content

Commit

Permalink
Dev Fixed broken import since new question index.
Browse files Browse the repository at this point in the history
Dev @Shnoulle: thanks for noticing this early!
  • Loading branch information
SamMousa committed Jul 1, 2013
1 parent badcc48 commit eae381e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions application/helpers/admin/import_helper.php
Expand Up @@ -3469,6 +3469,15 @@ function XMLImportSurvey($sFullFilepath,$sXMLdata=NULL,$sNewSurveyName=NULL,$iDe
$insertdata['wishSID']=$iOldSID;
}

if ($iDBVersion < 169)
{
if (isset($insertdata['allowjumps']))
{
$insertdata['questionindex'] = $insertdata['allowjumps'] == 'Y' ? 1 : 0;
unset($insertdata['allowjumps']);
}
}

if ($iDBVersion<145)
{
if(isset($insertdata['private'])) $insertdata['anonymized']=$insertdata['private'];
Expand Down

0 comments on commit eae381e

Please sign in to comment.