diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-04-26 18:02:15 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-04-26 18:02:15 +0000 |
commit | 78f16d70a292afee3470710669d4082d5b6212eb (patch) | |
tree | 4dc9ef12dd7cccaf7e077131ef3b2c98732ec05e | |
parent | bc698d155133c3dfedf0f9fec1d1dbbf23e181db (diff) | |
download | forums-78f16d70a292afee3470710669d4082d5b6212eb.tar forums-78f16d70a292afee3470710669d4082d5b6212eb.tar.gz forums-78f16d70a292afee3470710669d4082d5b6212eb.tar.bz2 forums-78f16d70a292afee3470710669d4082d5b6212eb.tar.xz forums-78f16d70a292afee3470710669d4082d5b6212eb.zip |
This change to validate_username really keeps on giving
#10175
git-svn-id: file:///svn/phpbb/trunk@7408 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/ucp/ucp_register.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php index 8c749a1bd6..c1978f3723 100644 --- a/phpBB/includes/ucp/ucp_register.php +++ b/phpBB/includes/ucp/ucp_register.php @@ -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, ); |