mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
git-svn-id: file:///svn/phpbb/trunk@6780 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c1b5a3b328
commit
4e5466d276
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ function user_add($user_row, $cp_data = false)
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
|
|
||||||
// Now make it the users default group...
|
// 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
|
// 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)
|
if ($user_row['user_type'] == USER_NORMAL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue