Skip to content

Commit

Permalink
Fix question count
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Nov 29, 2017
1 parent bf3f4b1 commit cb18824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/survey/preview.php
Expand Up @@ -219,7 +219,7 @@
/** @var survey_question $display */
$display = new $ch_type;
$form->addHtml('<div class="survey_question '.$ch_type.'">');
$form->addHtml('<h5 class="title">'.$question['question_id'].'. '.strip_tags($question['survey_question']).'</h5>');
$form->addHtml('<h5 class="title">'.$key.'. '.strip_tags($question['survey_question']).'</h5>');
$display->render($form, $question);
$form->addHtml('</div>');
}
Expand Down

0 comments on commit cb18824

Please sign in to comment.