From 609c7d517d3bbcfa952502a7e1871041eff5aaa6 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Wed, 22 Mar 2006 17:18:55 +0000 Subject: [PATCH] Fixed bug 4953 --- 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 ef0e547b5e..a1b24eebf1 100644 --- a/mod/quiz/attempt.php +++ b/mod/quiz/attempt.php @@ -302,7 +302,7 @@ 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 -- 2.39.5