From a5be656bc657f75b7d9008d51effc8fa53cd0a79 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Thu, 8 Feb 2007 11:19:55 +0000 Subject: [PATCH] MDL-8461 Looked like a typo, wrong parameter being sent to format_text so formatting was ignored. --- mod/resource/type/text/resource.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/resource/type/text/resource.class.php b/mod/resource/type/text/resource.class.php index 1e6c420a2c..f5e1aca636 100644 --- a/mod/resource/type/text/resource.class.php +++ b/mod/resource/type/text/resource.class.php @@ -114,7 +114,7 @@ function display() { "", "", true, update_module_button($cm->id, $course->id, $this->strresource), navmenu($course, $cm)); - print_simple_box(format_text($resource->alltext, $resource->options, $formatoptions, $course->id), + print_simple_box(format_text($resource->alltext, $resource->reference, $formatoptions, $course->id), "center", "", "", "20"); $strlastmodified = get_string("lastmodified"); -- 2.39.5