From 2b37a4fe56f86430733fd5757f6c8a4907f51a3f Mon Sep 17 00:00:00 2001 From: rxu Date: Sun, 16 Jan 2011 20:14:35 +0100 Subject: [PATCH] [ticket/9933] Remove empty word check. PHPBB3-9933 --- phpBB/includes/functions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 1bcbfd2a83..8697a0a472 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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)) {