mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
Also update newest user data if someone is creating a founder with user_add().
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10099 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2b5f04cf1c
commit
c35cdff241
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ function user_add($user_row, $cp_data = false)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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 || $user_row['user_type'] == USER_FOUNDER)
|
||||||
{
|
{
|
||||||
set_config('newest_user_id', $user_id, true);
|
set_config('newest_user_id', $user_id, true);
|
||||||
set_config('newest_username', $user_row['username'], true);
|
set_config('newest_username', $user_row['username'], true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue