mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
git-svn-id: file:///svn/phpbb/trunk@7445 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user