Fix bug in CSV generation (all users appeared as men...)
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 2 Jan 2010 15:31:51 +0000 (16:31 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 2 Jan 2010 15:31:51 +0000 (16:31 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
templates/xnetgrp/annuaire-csv.tpl

index 1ce4ca9..aeb6fa5 100644 (file)
@@ -23,7 +23,7 @@ Nom,Prénom,Sexe,Promotion,Email,Commentaire
 {if $ann}
 {iterate from=$ann item=m}
 
-{$m.nom},{$m.prenom},{if $m.sexe}F{else}M{/if},{$m.promo},{$m.email},{$m.comm|replace:',':'\,'}
+{$m.nom},{$m.prenom},{if $m.femme}F{else}M{/if},{$m.promo},{$m.email},{$m.comm|replace:',':'\,'}
 
 {/iterate}
 {/if}