From: danstowell Date: Thu, 16 Mar 2006 10:36:54 +0000 (+0000) Subject: Re bug 4640 - enabled filtering for attachment link HTML - enables MP3 uploads to... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bce7a133b903f4f4ba875bd04331f84a73f52a59;p=moodle.git Re bug 4640 - enabled filtering for attachment link HTML - enables MP3 uploads to use mediafilter, for example --- diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 1e7878bfd5..7f26e0b3bc 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -2392,7 +2392,7 @@ function forum_print_attachments($post, $return=NULL) { $imagereturn .= "
\"\""; } else { echo "$image "; - echo "$file
"; + echo filter_text("$file
"); } } }