aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2011-01-16 20:14:35 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-01-16 20:14:35 +0100
commit2b37a4fe56f86430733fd5757f6c8a4907f51a3f (patch)
tree4f9b4ab59849c55c788d6d57c6aa11a898508d51 /phpBB/includes/functions.php
parent97be6e794647d0853274c5d8e68a9fbe727dba51 (diff)
downloadforums-2b37a4fe56f86430733fd5757f6c8a4907f51a3f.tar
forums-2b37a4fe56f86430733fd5757f6c8a4907f51a3f.tar.gz
forums-2b37a4fe56f86430733fd5757f6c8a4907f51a3f.tar.bz2
forums-2b37a4fe56f86430733fd5757f6c8a4907f51a3f.tar.xz
forums-2b37a4fe56f86430733fd5757f6c8a4907f51a3f.zip
[ticket/9933] Remove empty word check.
PHPBB3-9933
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php5
1 files changed, 0 insertions, 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))
{