Bug #6077 - Teacher saving their grades destroys student essay! Merged from MOODLE_16_STABLE.

This commit is contained in:
tjhunt 2006-07-11 16:14:23 +00:00
parent e0eb89a13e
commit 079aa26d7d

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);
}