Fix save the results for hotSpot question - refs #7705

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent ef99fae435
commit 23cb5c5133
  1. 2
      main/exercice/exercise.class.php

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

Loading…
Cancel
Save