From 2a2a731a430da8634ef26378aa12127c631509bc Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 17 Aug 2008 18:33:25 +0000 Subject: [PATCH] MDL-16072 fixed html type attachemnt embedding --- mod/forum/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index abc6ca1856..b13f3e11f5 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -3854,7 +3854,7 @@ function forum_print_attachments($post, $cm, $type) { if ($type == 'html') { $output .= "$iconimage "; - $output .= "$file"; + $output .= "".s($filename).""; if (true) { // 'todo penny replace this with a capability check require_once($CFG->libdir . '/portfoliolib.php'); $p = array( -- 2.39.5