Browse Source

Fix #1510 show correct position for shuffle answers in hotspot

Angel Fernando Quiroz Campos 8 years ago
parent
commit
b3121fdf72
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/exercise/exercise.class.php

+ 1 - 1
main/exercise/exercise.class.php

@@ -4276,7 +4276,7 @@ class Exercise
 
                             ExerciseShowFunctions::display_hotspot_answer(
                                 $feedback_type,
-                                $answerId,
+                                ++$correctAnswerId,
                                 $answer,
                                 $studentChoice,
                                 $answerComment,