diff --git a/course/format/social/format.php b/course/format/social/format.php index 4e3035cb322..25f0c8fa626 100644 --- a/course/format/social/format.php +++ b/course/format/social/format.php @@ -15,7 +15,7 @@ if (trim($forum->intro) != '') { $options = new stdclass; $options->para = false; - $introcontent = format_text($forum->intro, FORMAT_MOODLE, $options); + $introcontent = format_module_intro('forum', $forum, $cm->id); if ($PAGE->user_is_editing() && has_capability('moodle/course:update', $context)) { $streditsummary = get_string('editsummary');