Merge branch 'MDL-49674-28-commentformat' of git://github.com/mudrd8mz/moodle into MOODLE_28_STABLE

This commit is contained in:
Dan Poltawski
2015-03-31 12:17:25 +01:00
+1 -1
View File
@@ -656,7 +656,7 @@ class comment {
$newcmt->fullname = fullname($USER);
$url = new moodle_url('/user/view.php', array('id' => $USER->id, 'course' => $this->courseid));
$newcmt->profileurl = $url->out();
$newcmt->content = format_text($newcmt->content, $format, array('overflowdiv'=>true));
$newcmt->content = format_text($newcmt->content, $newcmt->format, array('overflowdiv'=>true));
$newcmt->avatar = $OUTPUT->user_picture($USER, array('size'=>16));
$commentlist = array($newcmt);