From 7129ea95db97a81ed9687257108e5c62def8ca8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 8 Nov 2009 16:25:14 +0100 Subject: [PATCH] An email address has to be valid to be added to a ML (oooops...). --- modules/lists.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.1.4