diff --git a/lib/questionlib.php b/lib/questionlib.php index 00b1c7eb946..5d8691afcbb 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -930,6 +930,8 @@ function regrade_question_in_attempt($question, $attempt, $cmoptions, $verbose=f save_question_session($question, $replaystate); } if ($changed) { + // TODO, call a method in quiz to do this, where 'quiz' comes from + // the question_attempts table. update_record('quiz_attempts', $attempt); }