Skip to content

Commit

Permalink
Fixed issue #8201: TSV-import - subquestions missing
Browse files Browse the repository at this point in the history
DEV: subquestions were not imported when the same
DEV: codes were used on X and Y-scale in text/number
DEV: matrix questions
  • Loading branch information
mfaber committed Sep 29, 2013
1 parent 453b684 commit 6066836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/import_helper.php
Expand Up @@ -4775,7 +4775,7 @@ function TSVImportSurvey($sFullFilepath)
$insertdata['mandatory'] = (isset($row['mandatory']) ? $row['mandatory'] : '');
$insertdata['scale_id'] = $scale_id;
// For multi nueric language, qid is needed, why not gid. name is not unique.
$fullsqname = "G{$gid}Q{$qid}_{$sqname}";
$fullsqname = "G{$gid}Q{$qid}_{$scale_id}_{$sqname}";
if (isset($sqinfo[$fullsqname]))
{
$qseq = $sqinfo[$fullsqname]['question_order'];
Expand Down

0 comments on commit 6066836

Please sign in to comment.