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