X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fprofil.func.inc.php;h=9c9c78273e14c33a8e039035c06c60f6960c4fcb;hb=e97df22eacc433a9982aad507f980b303d5fa2c1;hp=7b418d7c92296466ae0581beb785807adf2cc470;hpb=c3c43c0ebe734e2b43b5d5fdb6010d08358bc34b;p=platal.git diff --git a/include/profil.func.inc.php b/include/profil.func.inc.php index 7b418d7..9c9c782 100644 --- a/include/profil.func.inc.php +++ b/include/profil.func.inc.php @@ -108,7 +108,7 @@ function same_field(&$a, &$b) { if (!isset($b[$val]) || !same_field($avar, $b[$val])) return false; return true; } elseif (is_string($a)) - return (strtoupper($a) == strtoupper($b)); + return (mb_strtoupper($a) == mb_strtoupper($b)); } function diff_user_tel(&$a, &$b) { $c = $a;