From 6aa931edb3a396e6216c9aa734f5eab098370d94 Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Mon, 3 May 2010 08:35:12 +0000 Subject: [PATCH] "MDL-22112, format module intro by format_module_intro" --- mod/wiki/renderer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/wiki/renderer.php b/mod/wiki/renderer.php index f833c7a659f..dad659eece2 100644 --- a/mod/wiki/renderer.php +++ b/mod/wiki/renderer.php @@ -239,7 +239,8 @@ class mod_wiki_renderer extends plugin_renderer_base { return $output; } public function wiki_info() { - return $this->output->box($this->page->activityrecord->intro, 'generalbox', 'intro'); + global $PAGE; + return $this->output->box(format_module_intro('wiki', $this->page->activityrecord, $PAGE->cm->id), 'generalbox', 'intro'); } public function tabs($page, $tabitems, $options) { global $CFG;