Permalink
Browse files

Re bug 4640 - enabled filtering for attachment link HTML - enables MP…

…3 uploads to use mediafilter, for example
  • Loading branch information...
danstowell
danstowell committed Mar 16, 2006
1 parent e520147 commit bce7a133b903f4f4ba875bd04331f84a73f52a59
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
@@ -2392,7 +2392,7 @@ function forum_print_attachments($post, $return=NULL) {
$imagereturn .= "<br /><img src=\"$ffurl\" alt=\"\" />";
} else {
echo "<a href=\"$ffurl\">$image</a> ";
- echo "<a href=\"$ffurl\">$file</a><br />";
+ echo filter_text("<a href=\"$ffurl\">$file</a><br />");
}
}
}

0 comments on commit bce7a13

Please sign in to comment.