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:
2017-03-24 14:34:34 +00:00
parent 9ffe45b072
commit f928cec68c

View File

@@ -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",