From 63409676be658d288886756297075127f96e59f3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 25 Mar 2001 18:23:34 +0000 Subject: - restored check_textarea: I changed it for debugging purpose but forgot to switch it back --- includes/function.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'includes/function.inc') diff --git a/includes/function.inc b/includes/function.inc index 0080a8432..ddd113844 100644 --- a/includes/function.inc +++ b/includes/function.inc @@ -16,8 +16,7 @@ function check_export($message) { function check_textarea($message) { global $allowed_html; - return strip_tags(stripslashes($message), $allowed_html); - // return htmlspecialchars(strip_tags(stripslashes($message), $allowed_html)); + return htmlspecialchars(strip_tags(stripslashes($message), $allowed_html)); } function check_input($message) { -- cgit v1.2.3