X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Flists%2Flists.inc.php;h=c18809f5a42381bab9b577d5190b4ae924494140;hb=91cf1bdb0dde96ea89f4e5f707fa2801871d7578;hp=5f8c2f4918b5a8d2ade455bf6181f63f54c79bec;hpb=164566891eef6e4027b2dfccda0040d37f10605b;p=platal.git diff --git a/modules/lists/lists.inc.php b/modules/lists/lists.inc.php index 5f8c2f4..c18809f 100644 --- a/modules/lists/lists.inc.php +++ b/modules/lists/lists.inc.php @@ -1,6 +1,6 @@ $name, 'email' => $member, 'category' => $category, - 'uid' => $uid, 'lost' => $user->lost, 'hasProfile' => $hasProfile); + $membres[$key][$name] = array('name' => $name, 'email' => $member, 'category' => $category, + 'uid' => $uid, 'lost' => $user->lost, 'hasProfile' => $hasProfile); } } ksort($membres); - foreach($membres as $membre) { - ksort($membre); + foreach($membres as &$membre) { + uksort($membre, 'strcasecmp'); } return $membres; }