X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fsynchro_ax.inc.php;h=ed0bd613306d5523412a23002df46ec0b5e0f974;hb=35a224884f65700df59890012f66849d94a3aff7;hp=208272f70318391117aca1897e66f4d1fb3efa05;hpb=179afa7fa79902e11498314d37fe4dbf452b3617;p=platal.git diff --git a/include/synchro_ax.inc.php b/include/synchro_ax.inc.php index 208272f..ed0bd61 100644 --- a/include/synchro_ax.inc.php +++ b/include/synchro_ax.inc.php @@ -1,6 +1,6 @@ Nom_patr()); - $userax['nom_usage'] = strtoupper($ancien->Nom_usuel()); + $userax['nom'] = mb_strtoupper($ancien->Nom_patr()); + $userax['nom_usage'] = mb_strtoupper($ancien->Nom_usuel()); if ($userax['nom_usage'] == $userax['nom']) $userax['nom_usage'] = ''; $userax['prenom'] = $ancien->Prenom(); $userax['sexe'] = ($ancien->Civilite() != 'M')?1:0; @@ -68,7 +65,7 @@ function get_user_ax($matricule_ax, $raw=false) $jobax['postcode'] = $ancien->Adresse_act_code_pst($i); $jobax['city'] = $ancien->Adresse_act_ville($i); $jobax['region'] = $ancien->Adresse_act_etat_region($i); - $jobax['countrytxt'] = ucwords(strtolower($ancien->Adresse_act_pays($i))); + $jobax['countrytxt'] = ucwords(mb_strtolower($ancien->Adresse_act_pays($i))); $jobax['tel'] = $ancien->Adresse_act_tel($i); $jobax['fax'] = $ancien->Adresse_act_fax($i); $jobax['mobile'] = $ancien->Adresse_act_mobile($i); @@ -88,7 +85,7 @@ function get_user_ax($matricule_ax, $raw=false) $adrax['postcode'] = $ancien->Code_pst($i); $adrax['city'] = $ancien->Ville($i); $adrax['region'] = $ancien->Etat_region($i); - $adrax['countrytxt'] = ucwords(strtolower($ancien->Pays($i))); + $adrax['countrytxt'] = ucwords(mb_strtolower($ancien->Pays($i))); $adrax['pub'] = 'ax'; if ($ancien->Tel($i) || $ancien->Fax($i)) { $adrax['tels'] = array();