From: Stéphane Jacob Date: Sun, 8 Nov 2009 15:25:14 +0000 (+0100) Subject: An email address has to be valid to be added to a ML (oooops...). X-Git-Tag: xorg/0.10.2~17 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=7129ea95db97a81ed9687257108e5c62def8ca8e;p=platal.git An email address has to be valid to be added to a ML (oooops...). --- diff --git a/modules/lists.php b/modules/lists.php index d00bae9..dcce23c 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -660,7 +660,7 @@ class ListsModule extends PLModule S::assert_xsrf_token(); $members = User::getBulkForlifeEmails(Env::v('add_member'), - false, + true, array('ListsModule', 'no_login_callback')); $arr = $this->client->mass_subscribe($liste, $members); if (is_array($arr)) { @@ -678,7 +678,7 @@ class ListsModule extends PLModule $page->trigError('Une erreur s\'est produite lors du téléchargement du fichier'); } else { $members = User::getBulkForlifeEmails($upload->getContents(), - false, + true, array('ListsModule', 'no_login_callback')); $arr = $this->client->mass_subscribe($liste, $members); if (is_array($arr)) {