From c3e5185135c1e918ac0e07d6d5b4392971121bf9 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Sun, 19 Jul 2015 22:19:44 +0200 Subject: [PATCH] [ticket/12143] Avoid no output from get_group_name() PHPBB3-12143 --- phpBB/includes/functions_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''; }