diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-07 12:36:31 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-07 12:36:31 +0000 |
| commit | f8528a659c919d7bc1e78c5aacc95e27cddec627 (patch) | |
| tree | bb70865f922867a83fa144f315ad40014a982e2b /phpBB/install/install_install.php | |
| parent | e87f740a9e7a048b7900d92ede04f405a337441c (diff) | |
| download | forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.tar forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.tar.gz forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.tar.bz2 forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.tar.xz forums-f8528a659c919d7bc1e78c5aacc95e27cddec627.zip | |
tried to begin adjusting all string functions where applicable - still a *lot* to do.
i hope i catched all relevant sections and did not mess something up.
git-svn-id: file:///svn/phpbb/trunk@6452 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_install.php')
| -rwxr-xr-x | phpBB/install/install_install.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index f99f71a7f9..e8ebd7f726 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -577,23 +577,23 @@ class install_install extends module } // Test against the default username rules - if ($admin_name != '' && strlen($admin_name) < 3) + if ($admin_name != '' && utf8_strlen($admin_name) < 3) { $error[] = $lang['INST_ERR_USER_TOO_SHORT']; } - if ($admin_name != '' && strlen($admin_name) > 20) + if ($admin_name != '' && utf8_strlen($admin_name) > 20) { $error[] = $lang['INST_ERR_USER_TOO_LONG']; } // Test against the default password rules - if ($admin_pass1 != '' && strlen($admin_pass1) < 6) + if ($admin_pass1 != '' && utf8_strlen($admin_pass1) < 6) { $error[] = $lang['INST_ERR_PASSWORD_TOO_SHORT']; } - if ($admin_pass1 != '' && strlen($admin_pass1) > 30) + if ($admin_pass1 != '' && utf8_strlen($admin_pass1) > 30) { $error[] = $lang['INST_ERR_PASSWORD_TOO_LONG']; } |
