mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-13 12:35:06 +01:00
git-svn-id: file:///svn/phpbb/trunk@6780 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c1b5a3b328
commit
4e5466d276
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user