1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 16:15:22 +02:00

[ticket/12275] Change if (empty) to if (!isset)

PHPBB3-12275
This commit is contained in:
Zoddo 2014-04-14 22:02:48 +02:00
parent c82c6f8d8c
commit aa5f268ea5

View File

@ -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')
{