1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

This change to validate_username really keeps on giving

#10175


git-svn-id: file:///svn/phpbb/trunk@7408 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2007-04-26 18:02:15 +00:00
parent bc698d1551
commit 78f16d70a2

View File

@ -1,10 +1,10 @@
<?php
/**
/**
*
* @package ucp
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
@ -153,7 +153,7 @@ class ucp_register
$error = validate_data($data, array(
'username' => array(
array('string', false, $config['min_name_chars'], $config['max_name_chars']),
array('username')),
array('username', '')),
'new_password' => array(
array('string', false, $config['min_pass_chars'], $config['max_pass_chars']),
array('password')),
@ -404,7 +404,7 @@ class ucp_register
}
$s_hidden_fields = array(
'agreed' => 'true',
'agreed' => 'true',
'change_lang' => 0,
);