Bug #6077 - Teacher saving their grades destroys student essay!

This commit is contained in:
tjhunt
2006-07-11 16:10:56 +00:00
parent 07f579d0bd
commit 7203acd306
-1
View File
@@ -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);
}