diff options
author | 2006-10-13 22:10:18 +0000 | |
---|---|---|
committer | 2006-10-13 22:10:18 +0000 | |
commit | c65048bd9132175e9ba780457fdf00438932c5fe (patch) | |
tree | f664b7b45b4fcd0bea7b1e41e03c03c683e03d6e /phpBB/includes/ucp/ucp_resend.php | |
parent | More FAQ changes, with thanks to Techie-Micheal for assistance with some of t... (diff) | |
download | phpbb-c65048bd9132175e9ba780457fdf00438932c5fe.tar.gz phpbb-c65048bd9132175e9ba780457fdf00438932c5fe.tar.bz2 phpbb-c65048bd9132175e9ba780457fdf00438932c5fe.zip |
- introducing clean usernames, needs to be tested more, I'm not sure I didn't miss anything
- homograph list should probably be extended
git-svn-id: file:///svn/phpbb/trunk@6494 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_resend.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_resend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_resend.php b/phpBB/includes/ucp/ucp_resend.php index fb44cbaff4..10f93ba408 100644 --- a/phpBB/includes/ucp/ucp_resend.php +++ b/phpBB/includes/ucp/ucp_resend.php @@ -31,7 +31,7 @@ class ucp_resend $sql = 'SELECT user_id, group_id, username, user_email, user_type, user_lang, user_actkey FROM ' . USERS_TABLE . " WHERE user_email = '" . $db->sql_escape($email) . "' - AND LOWER(username) = '" . $db->sql_escape(utf8_strtolower($username)) . "'"; + AND username_clean = '" . $db->sql_escape(utf8_clean_string($username)) . "'"; $result = $db->sql_query($sql); $user_row = $db->sql_fetchrow($result); $db->sql_freeresult($result); |