소스 검색

Fix save the results for hotSpot question - refs #7705

Angel Fernando Quiroz Campos 9 년 전
부모
커밋
23cb5c5133
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main/exercice/exercise.class.php

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

@@ -3128,7 +3128,7 @@ class Exercise
                                 WHERE
                                     hotspot_exe_id = '".$exeId."' AND
                                     hotspot_question_id= '".$questionId."' AND
-                                    hotspot_answer_id = ".intval($answerId)."";
+                                    hotspot_answer_id = ".intval($answerAutoId)."";
                         $result = Database::query($sql);
                         $studentChoice = Database::result($result, 0, "hotspot_correct");