mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12143] Avoid no output from get_group_name()
PHPBB3-12143
This commit is contained in:
parent
981bd8bed4
commit
c3e5185135
1 changed files with 1 additions and 1 deletions
|
@ -3332,7 +3332,7 @@ function get_group_name($group_id)
|
||||||
$row = $db->sql_fetchrow($result);
|
$row = $db->sql_fetchrow($result);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
if (!$row || !$user->is_setup())
|
if (!$row)
|
||||||
{
|
{
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue