From b708f1bf474440cfba46d0d937dfdad5b2dbe978 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 26 Nov 2006 23:00:28 +0000 Subject: [PATCH] MDL-7631 Incorrect grading when Each attempt builds on the last and questions on more than one page --- mod/quiz/attempt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/attempt.php b/mod/quiz/attempt.php index 5ce5199659..23c1e0d4b8 100644 --- a/mod/quiz/attempt.php +++ b/mod/quiz/attempt.php @@ -322,7 +322,7 @@ $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); -- 2.39.5