aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-08 10:59:36 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-08 10:59:36 +0000
commit4306d4d083d50e9ef7ed01260aa95ea4ac453dee (patch)
treebd3b63b6a2c30c131790f6b7dd28edddb04589c1 /phpBB/includes/ucp
parent0e7adebad6e61c066b52e5480d5aa36a23571388 (diff)
downloadforums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar
forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.gz
forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.bz2
forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.xz
forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.zip
- fix some smaller bugs
- removed custom profiles preview field from acp git-svn-id: file:///svn/phpbb/trunk@6022 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_activate.php4
-rw-r--r--phpBB/includes/ucp/ucp_register.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/ucp/ucp_activate.php b/phpBB/includes/ucp/ucp_activate.php
index 93d1f63e05..c837975fa4 100644
--- a/phpBB/includes/ucp/ucp_activate.php
+++ b/phpBB/includes/ucp/ucp_activate.php
@@ -105,8 +105,8 @@ class ucp_activate
if (!$update_password)
{
- set_config('newest_user_id', $row['user_id']);
- set_config('newest_username', $row['username']);
+ set_config('newest_user_id', $row['user_id'], true);
+ set_config('newest_username', $row['username'], true);
set_config('num_users', $config['num_users'] + 1, true);
}
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php
index 92b70ca507..928882e02f 100644
--- a/phpBB/includes/ucp/ucp_register.php
+++ b/phpBB/includes/ucp/ucp_register.php
@@ -400,8 +400,8 @@ class ucp_register
if ($user_type == USER_NORMAL || !$config['email_enable'])
{
- set_config('newest_user_id', $user_id);
- set_config('newest_username', $username);
+ set_config('newest_user_id', $user_id, true);
+ set_config('newest_username', $username, true);
set_config('num_users', $config['num_users'] + 1, true);
}
unset($data);