- See whether this fixes your problem and if it does not, take a look
at what I tried to do. :)3-00
parent
b87d482b38
commit
296fb7b93a
|
@ -20,8 +20,8 @@ function check_textarea($message) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_input($message) {
|
function check_input($message) {
|
||||||
global $allowed_html, $submission_size;
|
global $allowed_html;
|
||||||
return strip_tags(addslashes(stripslashes(substr($message, 0, $submission_size))), $allowed_html);
|
return strip_tags(addslashes(stripslashes(substr($message, 0, variable_get(max_input_size, 10000)))), $allowed_html);
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_code($message) {
|
function check_code($message) {
|
||||||
|
|
Loading…
Reference in New Issue