Răsfoiți Sursa

Fix #1510 show correct position for shuffle answers in hotspot

Angel Fernando Quiroz Campos 8 ani în urmă
părinte
comite
b3121fdf72
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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(
                             ExerciseShowFunctions::display_hotspot_answer(
                                 $feedback_type,
                                 $feedback_type,
-                                $answerId,
+                                ++$correctAnswerId,
                                 $answer,
                                 $answer,
                                 $studentChoice,
                                 $studentChoice,
                                 $answerComment,
                                 $answerComment,