From 4e5466d276a4c8bb24172b2dc888c8d1a715a04a Mon Sep 17 00:00:00 2001 From: David M Date: Sun, 17 Dec 2006 23:21:34 +0000 Subject: [PATCH] #6328 git-svn-id: file:///svn/phpbb/trunk@6780 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 449d436001..6a9fc0922d 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -245,7 +245,7 @@ function user_add($user_row, $cp_data = false) $db->sql_query($sql); // Now make it the users default group... - group_set_user_default($user_row['group_id'], array($user_id), false, true); + group_set_user_default($user_row['group_id'], array($user_id), false, $user_row['user_type'] == USER_NORMAL); // set the newest user and adjust the user count if the user is a normal user and no activation mail is sent if ($user_row['user_type'] == USER_NORMAL)