Signed-off-by: Stéphane Jacob <sj@m4x.org>
$membres[0][] = array('l' => $mem, 'p' => (!$tri_promo ? 'inconnue' : null));
} else {
$uid = $user->id();
$membres[0][] = array('l' => $mem, 'p' => (!$tri_promo ? 'inconnue' : null));
} else {
$uid = $user->id();
- $nom = $user->fullName(); # XXX: Get a notion of 'last name' here, I want to sort user by lastnames
+ $nom = $user->directoryName();
$promo = $user->promo();
if (!$promo) {
$promo = 'non-X';
$promo = $user->promo();
if (!$promo) {
$promo = 'non-X';