]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7631 Incorrect grading when Each attempt builds on the last and questions on...
authorskodak <skodak>
Sun, 26 Nov 2006 23:00:28 +0000 (23:00 +0000)
committerskodak <skodak>
Sun, 26 Nov 2006 23:00:28 +0000 (23:00 +0000)
mod/quiz/attempt.php

index 5ce5199659ad14f70ec9da191176ca617212bb5d..23c1e0d4b89f52d9d02ec0a6c68a9ff980d7c520 100644 (file)
             $action = new stdClass;
             $action->responses = $laststate->responses;
             $action->timestamp = $laststate->timestamp;
-            $action->event = QUESTION_EVENTOPEN;
+            $action->event = QUESTION_EVENTSAVE; //emulate save of questions from all pages MDL-7631
 
             // Process these responses ...
             question_process_responses($questions[$i], $states[$i], $action, $quiz, $attempt);