1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/9933] Remove empty word check.

PHPBB3-9933
This commit is contained in:
rxu
2011-01-16 20:14:35 +01:00
committed by Andreas Fischer
parent 97be6e7946
commit 2b37a4fe56

View File

@@ -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))
{