mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-33878' of git://github.com/netspotau/moodle-mod_assign
This commit is contained in:
commit
75c8a109e5
@ -3349,8 +3349,10 @@ class assign {
|
||||
// now get the feedback
|
||||
if ($gradebookplugin) {
|
||||
$grade = $this->get_user_grade($result->userid, false);
|
||||
$gradebookgrade->feedbacktext = $gradebookplugin->text_for_gradebook($grade);
|
||||
$gradebookgrade->feedbackformat = $gradebookplugin->format_for_gradebook($grade);
|
||||
if ($grade) {
|
||||
$gradebookgrade->feedbacktext = $gradebookplugin->text_for_gradebook($grade);
|
||||
$gradebookgrade->feedbackformat = $gradebookplugin->format_for_gradebook($grade);
|
||||
}
|
||||
}
|
||||
$grades[$gradebookgrade->userid] = $gradebookgrade;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user