From: Pascal Corpet Date: Sun, 26 Sep 2010 16:22:36 +0000 (+0200) Subject: fixes use of field 'nom' and 'prenom' in groupeX auth X-Git-Tag: xorg/1.0.1~15^2~7 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ac93ae7938b8aa8dd8ec29063f3ffde5bd2dacfc;p=platal.git fixes use of field 'nom' and 'prenom' in groupeX auth --- diff --git a/modules/auth/auth.inc.php b/modules/auth/auth.inc.php index f41b600..c4f015b 100644 --- a/modules/auth/auth.inc.php +++ b/modules/auth/auth.inc.php @@ -42,6 +42,8 @@ function gpex_make($chlg, $privkey, $datafields, $charset) $personnal_data['nationalite'] = $personnal_data['nationality1']; $personnal_data['naissance'] = $personnal_data['birthdate']; $personnal_data['deces'] = $personnal_data['deathdate']; + $personnal_data['nom'] = $personnal_data['lastname']; + $personnal_data['prenom'] = $personnal_data['firstname']; $personnal_data['flags'] = $user->profile()->isFemale() ? 'femme' : ''; } else { $personnal_data = array();