From 113c260a12815420b2aec9d7cb4bb2e3bebb3c6b Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Thu, 12 Aug 2010 07:07:53 +0000 Subject: [PATCH] " MDL-23778, fixed module intro" --- course/format/social/format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');