diff options
Diffstat (limited to 'phpBB/adm/index.php')
-rw-r--r-- | phpBB/adm/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 3b93c9ea72..5498e6bff7 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -600,7 +600,7 @@ function validate_range($value_ary, &$error) { case 'string' : $max = (isset($column[1])) ? min($column[1],$type['max']) : $type['max']; - if (strlen($value['value']) > $max) + if (utf8_strlen($value['value']) > $max) { $error[] = sprintf($user->lang['SETTING_TOO_LONG'], $user->lang[$value['lang']], $max); } |