From 549537b9d570ac70c16f4560b9efbafa293834db Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sat, 10 May 2003 17:19:27 +0000 Subject: Returned to instantiation of ucp object ... perhaps this approach is better? Altered basic info for ucp_modules, updated editor to allow alternative form and textarea names ... still lots of fudginess, hhhmmmm fudge, uuuuugggghhh git-svn-id: file:///svn/phpbb/trunk@4003 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/functions_user.php') diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index aaeb16d76d..b12e131d3f 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -209,12 +209,12 @@ class userdata extends user if ($config['require_activation'] == USER_ACTIVATION_NONE) { - set_config('newest_user_id', $userdata['user_id']); + set_config('newest_user_id', $user_id); set_config('newest_username', $userdata['username']); set_config('num_users', $config['num_users'] + 1, TRUE); } unset($userdata); - + return $message; } -- cgit v1.2.1