aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorJosh Woody <a_jelly_doughnut@phpbb.com>2010-05-31 23:41:13 -0500
committerJosh Woody <a_jelly_doughnut@phpbb.com>2010-06-01 00:19:43 -0500
commitb4df815547a7b19e6cba72c61b2397baec82858d (patch)
tree6f6ebd2ab47537b0a1670f8e852406cccb6c9576 /phpBB/includes/functions_user.php
parent355d4b8ff8d616ef8650240f936517ede03296b8 (diff)
downloadforums-b4df815547a7b19e6cba72c61b2397baec82858d.tar
forums-b4df815547a7b19e6cba72c61b2397baec82858d.tar.gz
forums-b4df815547a7b19e6cba72c61b2397baec82858d.tar.bz2
forums-b4df815547a7b19e6cba72c61b2397baec82858d.tar.xz
forums-b4df815547a7b19e6cba72c61b2397baec82858d.zip
[ticket/9633] Newly Registered Group Colour not used in "Our Newest Member"
Due to an oversight, the default group was not properly checked in the user_add function. This fix corrects the check. No other changes are needed because they go direct to the database, this one used an array in memory. PHPBB3-9633
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 21e82030ee..271542efdd 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -297,6 +297,7 @@ function user_add($user_row, $cp_data = false)
if ($config['new_member_group_default'])
{
group_user_add($add_group_id, $user_id, false, false, true);
+ $user_row['group_id'] = $add_group_id;
}
else
{