diff options
author | Callum Macrae <callum@lynxphp.com> | 2011-08-21 13:14:30 +0100 |
---|---|---|
committer | Callum Macrae <callum@lynxphp.com> | 2011-08-21 13:16:50 +0100 |
commit | 459207636699ce5c554af115a7677f42630a430e (patch) | |
tree | 190a62046acf564c2bfbdfcedf9144aa9e3c7f64 /phpBB/includes/functions_content.php | |
parent | 1680b3a2a7614fb35d9119652140db2ff8bf5b0e (diff) | |
download | forums-459207636699ce5c554af115a7677f42630a430e.tar forums-459207636699ce5c554af115a7677f42630a430e.tar.gz forums-459207636699ce5c554af115a7677f42630a430e.tar.bz2 forums-459207636699ce5c554af115a7677f42630a430e.tar.xz forums-459207636699ce5c554af115a7677f42630a430e.zip |
[ticket/10240] Reverted a commit which added buggy code.
This reverts commit f9dbe33fa7917b6220a85a01ed9f395f3f1bb888.
The code which was added also removed new lines and tabs.
PHPBB3-10240
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r-- | phpBB/includes/functions_content.php | 3 |
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)) { |