Commit 296fb7b9 authored by Dries's avatar Dries

- See whether this fixes your problem and if it does not, take a look
  at what I tried to do. :)
parent b87d482b
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment