diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-13 13:42:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-13 13:42:43 +0000 |
commit | 296fb7b93a74f2fb576a53a63722519f20a6e867 (patch) | |
tree | d9e0ff192a4469bbe3a03a47694682adef238dd6 | |
parent | b87d482b38dd68dfcaf97bc94a6b7ea833117240 (diff) | |
download | brdo-296fb7b93a74f2fb576a53a63722519f20a6e867.tar.gz brdo-296fb7b93a74f2fb576a53a63722519f20a6e867.tar.bz2 |
- See whether this fixes your problem and if it does not, take a look
at what I tried to do. :)
-rw-r--r-- | includes/function.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/function.inc b/includes/function.inc index 00a4a14f7..8a2a73604 100644 --- a/includes/function.inc +++ b/includes/function.inc @@ -20,8 +20,8 @@ function check_textarea($message) { } function check_input($message) { - global $allowed_html, $submission_size; - return strip_tags(addslashes(stripslashes(substr($message, 0, $submission_size))), $allowed_html); + global $allowed_html; + return strip_tags(addslashes(stripslashes(substr($message, 0, variable_get(max_input_size, 10000)))), $allowed_html); } function check_code($message) { |