Fix Save SpeedReading Result

pull/2487/head
Jose Loguercio 8 years ago
parent 6929603729
commit 9919b854d7
  1. 2
      main/exercise/exercise.class.php

@ -5230,7 +5230,7 @@ class Exercise
false,
$objQuestionTmp->getAbsoluteFilePath()
);
} elseif (in_array($answerType, [UNIQUE_ANSWER, UNIQUE_ANSWER_IMAGE, UNIQUE_ANSWER_NO_OPTION])) {
} elseif (in_array($answerType, [UNIQUE_ANSWER, UNIQUE_ANSWER_IMAGE, UNIQUE_ANSWER_NO_OPTION, READING_COMPREHENSION])) {
$answer = $choice;
Event::saveQuestionAttempt($questionScore, $answer, $quesId, $exeId, 0, $this->id);
// } elseif ($answerType == HOT_SPOT || $answerType == HOT_SPOT_DELINEATION) {

Loading…
Cancel
Save