]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed bug 4953
authorgustav_delius <gustav_delius>
Wed, 22 Mar 2006 17:18:55 +0000 (17:18 +0000)
committergustav_delius <gustav_delius>
Wed, 22 Mar 2006 17:18:55 +0000 (17:18 +0000)
mod/quiz/attempt.php

index ef0e547b5e89b262f4fb5150457c11adf056aeec..a1b24eebf1d918bccae7af84f8b8d1aee7ee2b2c 100644 (file)
     if ($responses = data_submitted() and empty($_POST['quizpassword'])) {
 
         // set the default event. This can be overruled by individual buttons.
-        $event = (array_key_exists('markall', $responses)) ? QUESTION_EVENTGRADE :
+        $event = (array_key_exists('markall', $responses)) ? QUESTION_EVENTSUBMIT :
          ($finishattempt ? QUESTION_EVENTCLOSE : QUESTION_EVENTSAVE);
 
         // Unset any variables we know are not responses