Skip to content

Commit

Permalink
Fixed issue #7643: Answer code is not set in comment field headings w…
Browse files Browse the repository at this point in the history
…hen exporting responses
  • Loading branch information
c-schmitz committed Mar 12, 2013
1 parent 38493bf commit fe4f8e4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions application/helpers/admin/exportresults_helper.php
Expand Up @@ -1005,16 +1005,10 @@ public function getCodeFieldSubHeading(SurveyObj $survey, FormattingOptions $oOp
{
$subHeading .= ' '.$this->getOtherSubHeading();
}
elseif (!$isComment)
else
{
$subHeading .= ' ['.$answerCode.']';
}
if (isset($isComment) && $isComment == true)
{
$subHeading .= ' '.$this->getCommentSubHeading();
$comment = false;
}

break;

case ':':
Expand Down

0 comments on commit fe4f8e4

Please sign in to comment.