From aa5f268ea5d0e9107f5c8154e10a85c46ad20273 Mon Sep 17 00:00:00 2001 From: Zoddo Date: Mon, 14 Apr 2014 22:02:48 +0200 Subject: [PATCH] [ticket/12275] Change if (empty) to if (!isset) PHPBB3-12275 --- phpBB/includes/functions_content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php index 37d04c1ba0..f420ba8ac4 100644 --- a/phpBB/includes/functions_content.php +++ b/phpBB/includes/functions_content.php @@ -1369,7 +1369,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '', // no break; } - if (empty($username_string)) + if (!isset($username_string)) { if (($mode == 'full' && !$profile_url) || $mode == 'no_profile') {