aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2007-05-01 15:19:38 +0000
committerHenry Sudhof <kellanved@phpbb.com>2007-05-01 15:19:38 +0000
commit9a946c091d06b455073867585897e00570a03fd1 (patch)
tree139a8549238a626fc4fd4d8e1e81c01d0a00393d /phpBB/includes/functions_user.php
parent59227ef50fd450dae9bb583a1b01ae3ecd24fcdc (diff)
downloadforums-9a946c091d06b455073867585897e00570a03fd1.tar
forums-9a946c091d06b455073867585897e00570a03fd1.tar.gz
forums-9a946c091d06b455073867585897e00570a03fd1.tar.bz2
forums-9a946c091d06b455073867585897e00570a03fd1.tar.xz
forums-9a946c091d06b455073867585897e00570a03fd1.zip
#10371
git-svn-id: file:///svn/phpbb/trunk@7445 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 055ab7c283..29d6618f11 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1992,7 +1992,7 @@ function group_create(&$group_id, $type, $name, $desc, $group_attributes, $allow
if (!$group_id)
{
$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']);
}