summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--function.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.inc b/function.inc
index 4caf5391c..fc60d9ef7 100644
--- a/function.inc
+++ b/function.inc
@@ -31,7 +31,7 @@ function FixQuotes ($what = "") {
function check($message) {
include "config.inc";
- return nl2br(strip_tags(stripslashes($message, $allowed_html)));
+ return nl2br(strip_tags(stripslashes($message), $allowed_html));
}
function discussion_num_replies($id, $count = 0) {