aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoddo <zoddo.ino@gmail.com>2014-04-14 22:02:48 +0200
committerZoddo <zoddo.ino@gmail.com>2014-04-14 22:02:48 +0200
commitaa5f268ea5d0e9107f5c8154e10a85c46ad20273 (patch)
tree6c72296db7e130c2e5210e6ae8552b1f40feb4ed
parentc82c6f8d8cd337da2e6bcd33e6b9a90c13964423 (diff)
downloadforums-aa5f268ea5d0e9107f5c8154e10a85c46ad20273.tar
forums-aa5f268ea5d0e9107f5c8154e10a85c46ad20273.tar.gz
forums-aa5f268ea5d0e9107f5c8154e10a85c46ad20273.tar.bz2
forums-aa5f268ea5d0e9107f5c8154e10a85c46ad20273.tar.xz
forums-aa5f268ea5d0e9107f5c8154e10a85c46ad20273.zip
[ticket/12275] Change if (empty) to if (!isset)
PHPBB3-12275
-rw-r--r--phpBB/includes/functions_content.php2
1 files changed, 1 insertions, 1 deletions
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')
{