Skip to content

Commit

Permalink
Fixed issue #8333: List with comment, question type(O) and cquestion …
Browse files Browse the repository at this point in the history
…code bug
  • Loading branch information
c-schmitz committed Nov 7, 2013
1 parent 8c1de24 commit ce14da0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/helpers/common_helper.php
Expand Up @@ -1706,6 +1706,10 @@ function getExtendedAnswer($iSurveyID, $sFieldCode, $sValue, $oLanguage)
$fields = $fieldmap[$sFieldCode];
else
return false;

// If it is a comment field there is nothing to convert here
if ($fields['aid']=='comment') return $sValue;

//Find out the question type
$this_type = $fields['type'];
switch($this_type)
Expand Down

0 comments on commit ce14da0

Please sign in to comment.