diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2015-07-19 22:19:44 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2015-08-05 17:50:26 +0200 |
commit | c3e5185135c1e918ac0e07d6d5b4392971121bf9 (patch) | |
tree | 893ed927b9c1d6e6850868f5410656cabcca6cd4 /phpBB/includes/functions_user.php | |
parent | 981bd8bed4f126ec01e02d9e1737c4d42994461c (diff) | |
download | forums-c3e5185135c1e918ac0e07d6d5b4392971121bf9.tar forums-c3e5185135c1e918ac0e07d6d5b4392971121bf9.tar.gz forums-c3e5185135c1e918ac0e07d6d5b4392971121bf9.tar.bz2 forums-c3e5185135c1e918ac0e07d6d5b4392971121bf9.tar.xz forums-c3e5185135c1e918ac0e07d6d5b4392971121bf9.zip |
[ticket/12143] Avoid no output from get_group_name()
PHPBB3-12143
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index e17a8b8d73..98ffb4227d 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -3332,7 +3332,7 @@ function get_group_name($group_id) $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); - if (!$row || !$user->is_setup()) + if (!$row) { return ''; } |