summaryrefslogtreecommitdiff
path: root/includes/function.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-25 18:23:34 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-25 18:23:34 +0000
commit63409676be658d288886756297075127f96e59f3 (patch)
tree532480eb7c9c3041238330612b10977c5a3c80e8 /includes/function.inc
parent456c39100fdc20be488693cb053a0893a47b9431 (diff)
downloadbrdo-63409676be658d288886756297075127f96e59f3.tar.gz
brdo-63409676be658d288886756297075127f96e59f3.tar.bz2
- restored check_textarea: I changed it for debugging purpose but forgot to
switch it back
Diffstat (limited to 'includes/function.inc')
-rw-r--r--includes/function.inc3
1 files changed, 1 insertions, 2 deletions
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) {