mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 23:20:09 +01:00
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:
parent
95751e81ac
commit
3547f186a8
@ -7092,7 +7092,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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user