- See whether this fixes your problem and if it does not, take a look

at what I tried to do. :)
3-00
Dries Buytaert 2001-04-13 13:42:43 +00:00
parent b87d482b38
commit 296fb7b93a
1 changed files with 2 additions and 2 deletions

View File

@ -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) {