mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12143] Avoid no output from get_group_name()
PHPBB3-12143
This commit is contained in:
@@ -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 '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user