mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7445 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
59227ef50f
commit
9a946c091d
1 changed files with 1 additions and 1 deletions
|
@ -1992,7 +1992,7 @@ function group_create(&$group_id, $type, $name, $desc, $group_attributes, $allow
|
||||||
if (!$group_id)
|
if (!$group_id)
|
||||||
{
|
{
|
||||||
$group_id = $db->sql_nextid();
|
$group_id = $db->sql_nextid();
|
||||||
if ($sql_ary['group_avatar_type'] == AVATAR_UPLOAD)
|
if (isset($sql_ary['group_avatar_type']) && $sql_ary['group_avatar_type'] == AVATAR_UPLOAD)
|
||||||
{
|
{
|
||||||
group_correct_avatar($group_id, $sql_ary['group_avatar']);
|
group_correct_avatar($group_id, $sql_ary['group_avatar']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue