1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 23:25:30 +02:00
git-svn-id: file:///svn/phpbb/trunk@6525 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2006-10-23 23:01:12 +00:00
parent ad8fa012f5
commit 2399844bef
2 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,7 @@ function mcp_post_details($id, $mode, $action)
while ($row = $db->sql_fetchrow($result))
{
$users_ary[$row['user_id']]['username'] = $row['username'];
$usernames_ary[utf8_sclean_string($row['username'])] = $users_ary[$row['user_id']];
$usernames_ary[utf8_clean_string($row['username'])] = $users_ary[$row['user_id']];
}
$db->sql_freeresult($result);

View File

@ -338,8 +338,8 @@ class ucp_register
$messenger->assign_vars(array(
'SITENAME' => $config['sitename'],
'WELCOME_MSG' => sprintf($user->lang['WELCOME_SUBJECT'], $config['sitename']),
'USERNAME' => html_entity_decode($username, ENT_COMPAT, 'UTF-8'),
'PASSWORD' => html_entity_decode($password_confirm),
'USERNAME' => html_entity_decode($user_row['username'], ENT_COMPAT, 'UTF-8'),
'PASSWORD' => html_entity_decode($user_row['user_password']),
'EMAIL_SIG' => str_replace('<br />', "\n", "-- \n" . $config['board_email_sig']),
'U_ACTIVATE' => "$server_url/ucp.$phpEx?mode=activate&u=$user_id&k=$user_actkey")