aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-08-21 14:26:24 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-08-21 14:26:24 +0200
commit91b415dd01095a4a108909b79f35f2146bb9abe7 (patch)
tree401a422a14cbdcda4682adafa110dd35d68fc916 /phpBB
parent9f9e4ad3d8d9b88be01427739088020d9e64164b (diff)
parent459207636699ce5c554af115a7677f42630a430e (diff)
downloadforums-91b415dd01095a4a108909b79f35f2146bb9abe7.tar
forums-91b415dd01095a4a108909b79f35f2146bb9abe7.tar.gz
forums-91b415dd01095a4a108909b79f35f2146bb9abe7.tar.bz2
forums-91b415dd01095a4a108909b79f35f2146bb9abe7.tar.xz
forums-91b415dd01095a4a108909b79f35f2146bb9abe7.zip
Merge remote-tracking branch 'callumacrae/ticket/10240' into develop-olympus
* callumacrae/ticket/10240: [ticket/10240] Reverted a commit which added buggy code.
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_content.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index b34976db2a..b7650ecd6a 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -691,9 +691,6 @@ function censor_text($text)
return '';
}
- // Strip control characters
- $text = preg_replace('/[\x00-\x0f]/', '', $text);
-
// We moved the word censor checks in here because we call this function quite often - and then only need to do the check once
if (!isset($censors) || !is_array($censors))
{