### Eclipse Workspace Patch 1.0
#P moodle
Index: mod/quiz/attempt.php
===================================================================
RCS file: /cvsroot/moodle/moodle/mod/quiz/attempt.php,v
retrieving revision 1.98
diff -u -r1.98 attempt.php
--- mod/quiz/attempt.php	20 Sep 2006 16:17:27 -0000	1.98
+++ mod/quiz/attempt.php	22 Nov 2006 20:30:30 -0000
@@ -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);
