mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 21:54:00 +02:00
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
This commit is contained in:
@@ -384,7 +384,7 @@ function tz_select($default = '')
|
||||
{
|
||||
if (is_numeric($offset))
|
||||
{
|
||||
$selected = ($offset === $default) ? ' selected="selected"' : '';
|
||||
$selected = ($offset == $default) ? ' selected="selected"' : '';
|
||||
$tz_select .= '<option value="' . $offset . '"' . $selected . '>' . $zone . '</option>';
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user