aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-09-04 12:04:30 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-09-04 12:04:30 +0000
commitc35cdff24195ed38ae6df98a59c27324a5c72d1c (patch)
tree2a681ff938796c26987435cb6a913a96ea114302 /phpBB/includes/functions_user.php
parent2b5f04cf1c6987ec943ea3937e1d2c63b7982427 (diff)
downloadforums-c35cdff24195ed38ae6df98a59c27324a5c72d1c.tar
forums-c35cdff24195ed38ae6df98a59c27324a5c72d1c.tar.gz
forums-c35cdff24195ed38ae6df98a59c27324a5c72d1c.tar.bz2
forums-c35cdff24195ed38ae6df98a59c27324a5c72d1c.tar.xz
forums-c35cdff24195ed38ae6df98a59c27324a5c72d1c.zip
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
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 11b134cd85..7255d138ab 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -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
- 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_username', $user_row['username'], true);