Skip to content

Commit

Permalink
Fixed issue #4541: Result export misses details on multiple choice su…
Browse files Browse the repository at this point in the history
…bquestions in header

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9076 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Aug 19, 2010
1 parent ffd5819 commit 9955fb0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions admin/exportresults.php
Expand Up @@ -553,12 +553,9 @@
}
else
{
$lq = "SELECT * FROM {$dbprefix}answers WHERE qid=$fqid AND code = '$faid' AND language = '$explang'";
$lr = db_execute_assoc($lq);
while ($lrow = $lr->FetchRow())
{
$fquest .= " [".strip_tags_full($lrow['answer'])."]";
}
$sQuery = "SELECT question FROM {$dbprefix}questions WHERE parent_qid=$fqid AND title = '$faid' AND language = '$explang' and scale_id=0";
$sSubquestion = $connect->getOne($sQuery);
$fquest .= " [".strip_tags_full($sSubquestion)."]";
}
}
break;
Expand Down

0 comments on commit 9955fb0

Please sign in to comment.