summaryrefslogtreecommitdiff
path: root/includes/function.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/function.inc')
-rw-r--r--includes/function.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/function.inc b/includes/function.inc
index 8f9336603..3d4f5253f 100644
--- a/includes/function.inc
+++ b/includes/function.inc
@@ -32,6 +32,10 @@ function check_input($message) {
return strip_tags(addslashes(substr($message, 0, $submission_size)), $allowed_html);
}
+function check_code($message) {
+ return $message;
+}
+
function check_output($message, $nl2br = 0) {
global $allowed_html;
if ($nl2br == 1) return nl2br(strip_tags(stripslashes($message), $allowed_html));