mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-32781: assignfeedback_comments plugin not loading previous comments
Was setting the wrong field names in the form.
This commit is contained in:
parent
e16e2300c5
commit
9f91316495
@ -65,8 +65,8 @@ class assign_feedback_comments extends assign_feedback_plugin {
|
||||
if ($grade) {
|
||||
$feedbackcomments = $this->get_feedback_comments($grade->id);
|
||||
if ($feedbackcomments) {
|
||||
$data->feedbackcomments_editor['text'] = $feedbackcomments->commenttext;
|
||||
$data->feedbackcomments_editor['format'] = $feedbackcomments->commentformat;
|
||||
$data->assignfeedbackcomments_editor['text'] = $feedbackcomments->commenttext;
|
||||
$data->assignfeedbackcomments_editor['format'] = $feedbackcomments->commentformat;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user