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/includes/functions_profile_fields.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/includes/functions_profile_fields.php')
-rw-r--r-- | phpBB/includes/functions_profile_fields.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index bcc082679c..ca2bf690b6 100644 --- a/phpBB/includes/functions_profile_fields.php +++ b/phpBB/includes/functions_profile_fields.php @@ -161,11 +161,11 @@ class custom_profile return 'FIELD_REQUIRED'; } - if ($field_data['field_minlen'] && strlen($field_value) < $field_data['field_minlen']) + if ($field_data['field_minlen'] && utf8_strlen($field_value) < $field_data['field_minlen']) { return 'FIELD_TOO_SHORT'; } - else if ($field_data['field_maxlen'] && strlen($field_value) > $field_data['field_maxlen']) + else if ($field_data['field_maxlen'] && utf8_strlen($field_value) > $field_data['field_maxlen']) { return 'FIELD_TOO_LONG'; } |