X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Flists%2Flists.inc.php;h=bba0ff0264c0917ff81dd4c67822fbeaa2bc51d0;hb=57a45fc4dfd40372a5583461024d46ec52b3c51a;hp=5f8c2f4918b5a8d2ade455bf6181f63f54c79bec;hpb=cafb410fea6f257f45da08631c6cdb5c35f86b17;p=platal.git diff --git a/modules/lists/lists.inc.php b/modules/lists/lists.inc.php index 5f8c2f4..bba0ff0 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) { + foreach($membres as &$membre) { ksort($membre); } return $membres;