Permalink
Browse files

MDL-29201: questions: Fix regraded essay questions not being placed i…

…nto correct state
  • Loading branch information...
1 parent 51e1e3d commit c538ea951f245b2d09077b5a1bcf8cdf143bc675 @tlevi tlevi committed with timhunt Sep 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/essay/questiontype.php
@@ -121,7 +121,7 @@ function grade_responses(&$question, &$state, $cmoptions) {
// 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;

0 comments on commit c538ea9

Please sign in to comment.