Skip to content

Commit

Permalink
Fixed issue: Question theme dropdown on new question page doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed May 17, 2018
1 parent ec2d45c commit c92ca48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/controllers/admin/questions.php
Expand Up @@ -1055,6 +1055,9 @@ public function newquestion($surveyid)
}
$aData['eqrow'] = $eqrow;
$aData['groupid'] = $eqrow['gid'];
$qid = null;
$aData['aQuestionTemplateAttributes'] = Question::model()->getAdvancedSettingsWithValues($qid, $eqrow['type'], $surveyid)['question_template'];
$aData['aQuestionTemplateList'] = \QuestionTemplate::getQuestionTemplateList($eqrow['type']);

$sumresult1 = Survey::model()->findByPk($surveyid);
if (is_null($sumresult1)) {
Expand Down

0 comments on commit c92ca48

Please sign in to comment.