From: Stéphane Jacob Date: Sat, 17 Jul 2010 11:26:59 +0000 (+0200) Subject: Broken is dealt with in the profile display plugin. X-Git-Tag: xorg/1.0.1~331 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=9d737e56be627353a284cf54b4bde101724e3010;p=platal.git Broken is dealt with in the profile display plugin. Signed-off-by: Stéphane Jacob --- diff --git a/modules/lists/lists.inc.php b/modules/lists/lists.inc.php index 2307d9d..92d2c61 100644 --- a/modules/lists/lists.inc.php +++ b/modules/lists/lists.inc.php @@ -38,12 +38,11 @@ function list_sort_owners(&$members, $tri_promo = true) if (!$promo) { $promo = 'non-X'; } - $broken = false; # XXX: fill it with the good value if the user has no valid email $key = $tri_promo ? ($promo != 'non-X' ? $promo : 0) : strtoupper(@$nom{0}); if ($tri_promo) { $promo = null; } - $membres[$key][$nom.$mem] = Array('n' => $nom, 'l' => $mem, 'p' => $promo, 'x' => $uid, 'b' => $broken); + $membres[$key][$nom.$mem] = array('n' => $nom, 'l' => $mem, 'p' => $promo, 'x' => $uid); } }