1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 07:42:09 +02:00

userdata -> ucp

git-svn-id: file:///svn/phpbb/trunk@4071 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-06-01 19:44:45 +00:00
parent 0c101c3dd4
commit 3d6d86d995

View File

@ -676,9 +676,9 @@ if ($submit || $preview || $refresh)
if (($username != '' && $user->data['user_id'] == ANONYMOUS) || ($mode == 'edit' && $post_username != ''))
{
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
$userdata = new userdata();
$ucp = new ucp();
$username = strip_tags(htmlspecialchars($username));
if (($result = $userdata->validate_username($username)) != false)
if (($result = $ucp->validate_username($username)) != false)
{
$err_msg .= ((!empty($err_msg)) ? '<br />' : '') . $result;
}