MDL-35392 mod_assign: Push feedback to gradebook when releasing grades

When bulk changing workflow status a mismatch in variable
names meant that feedback wasn't being sent to the gradebook.
This commit is contained in:
Zachary Durber
2015-02-23 09:17:30 +08:00
parent 8235b610bb
commit ad4d28ff76
+1 -1
View File
@@ -7100,7 +7100,7 @@ class assign {
if ($gradebookplugin) {
$grade = $this->get_user_grade($result->userid, false);
if ($grade) {
$gradebookgrade->feedbacktext = $gradebookplugin->text_for_gradebook($grade);
$gradebookgrade->feedback = $gradebookplugin->text_for_gradebook($grade);
$gradebookgrade->feedbackformat = $gradebookplugin->format_for_gradebook($grade);
}
}