X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile%2Fgeneral.inc.php;h=8afe3f87d1945b2aca81603c3ffe0c23da95fa85;hb=6139d6cb7c65fddd3796f23e8e770f11993c8d36;hp=d09df85b704015ba4fd7ac32fd063ad3b270f05f;hpb=f9bebf66a51f0920e55eb6d2c60c88e2eafbc598;p=platal.git diff --git a/modules/profile/general.inc.php b/modules/profile/general.inc.php index d09df85..8afe3f8 100644 --- a/modules/profile/general.inc.php +++ b/modules/profile/general.inc.php @@ -29,7 +29,7 @@ class ProfileNom implements ProfileSetting private function prepareField($value) { - $value = strtoupper(replace_accent($value)); + $value = mb_strtoupper($value); return preg_replace('/[^A-Z]/', ' ', $value); } @@ -127,7 +127,7 @@ class ProfileGeneral extends ProfilePage q.profile_mobile as mobile, q.profile_mobile_pub as mobile_pub, q.profile_web as web, q.profile_web_pub as web_pub, q.profile_freetext as freetext, q.profile_freetext_pub as freetext_pub, - q.profile_nick as nick, q.profile_from_ax as synchro_ax, u.matricule_ax, + q.profile_nick as nick, q.profile_from_ax as synchro_ax, u.hruid, IF(a1.aid IS NULL, -1, a1.aid) as appli_id1, a1.type as appli_type1, IF(a2.aid IS NULL, -1, a2.aid) as appli_id2, a2.type as appli_type2 FROM auth_user_md5 AS u