Exercise: Fix show question with answers preview

pull/4041/head
Angel Fernando Quiroz Campos 4 years ago
parent 9dab1de65c
commit 84cca097e3
  1. 2
      main/inc/lib/exercise.lib.php

@ -744,7 +744,7 @@ class ExerciseLib
}
if ($debug_mark_answer) {
if ($id == $answerCorrect) {
if ($id + 1 == $answerCorrect) {
$attributes['checked'] = 1;
$attributes['selected'] = 1;
}

Loading…
Cancel
Save