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:
parent
c82c6f8d8c
commit
aa5f268ea5
@ -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')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user