Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed issue #12353: Sample survey - some EM not executed
  • Loading branch information
LouisGac committed May 3, 2017
1 parent 868a176 commit 6654103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -407,7 +407,7 @@ public function run($surveyid,$args)
$aGroup['aQuestions'][$qid]['qid'] = $qa[4];
$aGroup['aQuestions'][$qid]['code'] = $qa[5];
$aGroup['aQuestions'][$qid]['number'] = $qa[0]['number'];
$aGroup['aQuestions'][$qid]['text'] = $qa[0]['text'];
$aGroup['aQuestions'][$qid]['text'] = LimeExpressionManager::ProcessString($qa[0]['text'], $qa[4], NULL, false, 3, 1, false, true, false);
$aGroup['aQuestions'][$qid]['SGQ'] = $qa[7];
$aGroup['aQuestions'][$qid]['mandatory'] = $qa[0]['mandatory'];
$aGroup['aQuestions'][$qid]['input_error_class'] = $qa[0]['input_error_class'];
Expand All @@ -416,7 +416,7 @@ public function run($surveyid,$args)
$aGroup['aQuestions'][$qid]['man_message'] = $qa[0]['man_message'];
$aGroup['aQuestions'][$qid]['answer'] = $qa[1];
$aGroup['aQuestions'][$qid]['help']['show'] = (flattenText( $lemQuestionInfo['info']['help'], true,true) != '');
$aGroup['aQuestions'][$qid]['help']['text'] = $lemQuestionInfo['info']['help'];
$aGroup['aQuestions'][$qid]['help']['text'] = LimeExpressionManager::ProcessString($lemQuestionInfo['info']['help'], $qa[4], NULL, false, 3, 1, false, true, false);
}

$aGroup['show_last_group'] = $aGroup['show_last_answer'] = false;
Expand Down

0 comments on commit 6654103

Please sign in to comment.