Bug #6077 - Teacher saving their grades destroys student essay!
This commit is contained in:
@@ -71,7 +71,6 @@ class quiz_report extends quiz_default_report {
|
||||
|
||||
// If the state has changed save it and update the quiz grade
|
||||
if ($state->changed) {
|
||||
$state->responses[''] = isset($state->responses['']) ? addslashes($state->responses['']) : ''; // should this go in save_question_session?
|
||||
save_question_session($question, $state);
|
||||
quiz_save_best_grade($quiz, $attempt->userid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user