mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/9933] Remove empty word check.
PHPBB3-9933
This commit is contained in:
parent
97be6e7946
commit
2b37a4fe56
1 changed files with 0 additions and 5 deletions
|
@ -3441,11 +3441,6 @@ function get_censor_preg_expression($word, $use_unicode = true)
|
||||||
{
|
{
|
||||||
static $unicode_support = null;
|
static $unicode_support = null;
|
||||||
|
|
||||||
if (empty($word))
|
|
||||||
{
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check whether PHP version supports unicode properties
|
// Check whether PHP version supports unicode properties
|
||||||
if (is_null($unicode_support))
|
if (is_null($unicode_support))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue