From c538ea951f245b2d09077b5a1bcf8cdf143bc675 Mon Sep 17 00:00:00 2001 From: Tony Levi Date: Thu, 1 Sep 2011 10:37:16 +0930 Subject: [PATCH] MDL-29201: questions: Fix regraded essay questions not being placed into correct state --- question/type/essay/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/essay/questiontype.php b/question/type/essay/questiontype.php index 8b77589e920..80818f69de9 100644 --- a/question/type/essay/questiontype.php +++ b/question/type/essay/questiontype.php @@ -121,7 +121,7 @@ class question_essay_qtype extends default_questiontype { // All grading takes place in Manual Grading $state->responses[''] = clean_param($state->responses[''], PARAM_CLEAN); - + $state->event = QUESTION_EVENTCLOSE; $state->raw_grade = 0; $state->penalty = 0;