Skip to content

Commit

Permalink
Fixed issue #4649: Default values are not properly converted when imp…
Browse files Browse the repository at this point in the history
…orting .csv survey structure file

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9191 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Oct 8, 2010
1 parent 32f15f5 commit 5e943da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/importsurvey.php
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ function CSVImportSurvey($sFullFilepath)
if ($answerrowdata['default_value']=='Y' && ($oldquestion['newtype']=='L' || $oldquestion['newtype']=='O' || $oldquestion['newtype']=='!'))
{
$insertdata=array();
$insertdata['qid']=$newqid;
$insertdata['qid']=$answerrowdata["qid"];
$insertdata['language']=$answerrowdata['language'];
$insertdata['defaultvalue']=$answerrowdata['answer'];
$tablename=$dbprefix.'defaultvalues';
Expand Down

0 comments on commit 5e943da

Please sign in to comment.