Skip to content

Commit

Permalink
Revert "Exercise: Fix show question with answers preview"
Browse files Browse the repository at this point in the history
This reverts commit 84cca09.
  • Loading branch information
AngelFQC committed Nov 8, 2021
1 parent 0167f1b commit b461008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/exercise.lib.php
Expand Up @@ -744,7 +744,7 @@ class="exercise-unique-answer-image col-xs-6 col-md-3"
}

if ($debug_mark_answer) {
if ($id + 1 == $answerCorrect) {
if ($id == $answerCorrect) {
$attributes['checked'] = 1;
$attributes['selected'] = 1;
}
Expand Down

0 comments on commit b461008

Please sign in to comment.