dblayer : the length of the fields must be checked in UTF-8 and not in Latin1
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3458 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -375,7 +375,7 @@ class dblayer
|
||||
$key));
|
||||
continue;
|
||||
}
|
||||
if (strlen ($data[$key]) > $params[1])
|
||||
if (mb_strlen ($data[$key]) > $params[1])
|
||||
{
|
||||
$errors[$key] = array ("error", sprintf (
|
||||
dgettext("domframework",
|
||||
|
||||
Reference in New Issue
Block a user