mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Bug #6077 - Teacher saving their grades destroys student essay! Merged from MOODLE_16_STABLE.
This commit is contained in:
parent
e0eb89a13e
commit
079aa26d7d
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user