Skip to content

Commit

Permalink
Dev: Indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Feb 23, 2018
1 parent a8812d0 commit 8c90042
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -396,24 +396,24 @@ public function run($surveyid, $args)
$aGroup['aQuestions'][$qid]['help']['show'] = (flattenText($lemQuestionInfo['info']['help'], true, true) != '');
$aGroup['aQuestions'][$qid]['help']['text'] = LimeExpressionManager::ProcessString($lemQuestionInfo['info']['help'], $qa[4], null, 3, 1, false, true, false);
}
$aGroup['show_last_group'] = $aGroup['show_last_answer'] = false;
$aGroup['lastgroup'] = $aGroup['lastanswer'] = '';
$aGroup['show_last_group'] = $aGroup['show_last_answer'] = false;
$aGroup['lastgroup'] = $aGroup['lastanswer'] = '';

if (!empty($qanda)) {
if (!empty($qanda)) {

if ($this->sSurveyMode == 'group') {
$aGroup['show_last_group'] = true;
$aGroup['lastgroup'] = $lastgroup;
}
if ($this->sSurveyMode == 'group') {
$aGroup['show_last_group'] = true;
$aGroup['lastgroup'] = $lastgroup;
}

if ($this->sSurveyMode == 'question') {
$aGroup['show_last_answer'] = true;
$aGroup['lastanswer'] = $lastanswer;
if ($this->sSurveyMode == 'question') {
$aGroup['show_last_answer'] = true;
$aGroup['lastanswer'] = $lastanswer;
}
}
Yii::app()->setConfig('gid', '');
$this->aSurveyInfo['aGroups'][$gid] = $aGroup;
}
Yii::app()->setConfig('gid', '');
$this->aSurveyInfo['aGroups'][$gid] = $aGroup;
}
}

/**
Expand Down

0 comments on commit 8c90042

Please sign in to comment.