mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/9933] Remove empty word check.
PHPBB3-9933
This commit is contained in:
@@ -3441,11 +3441,6 @@ function get_censor_preg_expression($word, $use_unicode = true)
|
||||
{
|
||||
static $unicode_support = null;
|
||||
|
||||
if (empty($word))
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
// Check whether PHP version supports unicode properties
|
||||
if (is_null($unicode_support))
|
||||
{
|
||||
|
Reference in New Issue
Block a user