From 9f91316495eb8f0d3bd5c3bad81c84213bb2cd56 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Mon, 7 May 2012 12:15:08 +0800 Subject: [PATCH] MDL-32781: assignfeedback_comments plugin not loading previous comments Was setting the wrong field names in the form. --- mod/assign/feedback/comments/locallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/assign/feedback/comments/locallib.php b/mod/assign/feedback/comments/locallib.php index f4eea92aee2..7f97175c00e 100644 --- a/mod/assign/feedback/comments/locallib.php +++ b/mod/assign/feedback/comments/locallib.php @@ -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; } }