Skip to content

Commit

Permalink
Fixed issue: unable to open response queXML pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed Jan 31, 2019
1 parent fc14e8e commit a0f9199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/export_helper.php
Expand Up @@ -1648,7 +1648,7 @@ function quexml_export($surveyi, $quexmllan, $iResponseID = false)
break;
case "R": //RANKING STYLE
quexml_create_subQuestions($question, $qid, $sgq, $iResponseID, $fieldmap, true);
$Query = "SELECT MAX(CHAR_LENGTH(code)) as sc FROM {{answers}} JOIN {{answerl10ns}} ON {{answers}}.aid = {{answerl10ns}}.aid WHERE qid = $qid AND language='$quexmllang' ";
$Query = "SELECT MAX(CHAR_LENGTH(code)) as sc FROM {{answers}} JOIN {{answer_l10ns}} ON {{answers}}.aid = {{answer_l10ns}}.aid WHERE qid = $qid AND language='$quexmllang' ";
$QRE = Yii::app()->db->createCommand($Query)->query();
//$QRE = mysql_query($Query) or die ("ERROR: $QRE<br />".mysql_error());
//$QROW = mysql_fetch_assoc($QRE);
Expand Down

0 comments on commit a0f9199

Please sign in to comment.