X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fxnetlists.php;h=5af8e1e333e250772533efce580a7581632324a9;hb=f28684feb06bef0d1d00f52db84d160ec557c458;hp=aaa75190734f30384b67df2f8298b75b5ea11a33;hpb=684195f33b11e3067200dd3a9e14304bd7d04463;p=platal.git diff --git a/modules/xnetlists.php b/modules/xnetlists.php index aaa7519..5af8e1e 100644 --- a/modules/xnetlists.php +++ b/modules/xnetlists.php @@ -1,6 +1,6 @@ trigError('Le champs « adresse souhaitée Â» est vide.'); return; } @@ -218,13 +218,10 @@ class XnetListsModule extends ListsModule $mails = array_map(create_function('$arr', 'return $arr[1];'), $members); $subscribers = array_unique($mails); - $not_in_group_x = array(); - $not_in_group_ext = array(); - $ann = XDB::fetchColumn('SELECT uid FROM group_members WHERE asso_id = {?}', $globals->asso('id')); - $users = User::getBuildUsersWithUIDs($ann, 'promo,full_name'); + $users = User::getBulkUsersWithUIDs($ann); $not_in_list = array(); foreach ($users as $user) {