mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:01:55 +02:00
Merge remote-tracking branch 'callumacrae/ticket/10240' into develop-olympus
* callumacrae/ticket/10240: [ticket/10240] Reverted a commit which added buggy code.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user