From 0e429a9e41549cfc6878ccb277b6dd3f63abd631 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 23 Oct 2011 00:10:39 +0200 Subject: [PATCH] Properly formats values before requiring list creation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/validations/listes.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/validations/listes.inc.php b/include/validations/listes.inc.php index b5bcd15..1897b05 100644 --- a/include/validations/listes.inc.php +++ b/include/validations/listes.inc.php @@ -134,10 +134,14 @@ class ListeReq extends Validate add_to_list_alias($member, $this->liste, $this->domain); } } else { + $members = User::getBulkForlifeEmails($this->members, true, + array('ListsModule', 'no_login_callback')); + $owners = User::getBulkForlifeEmails($this->owners, true, + array('ListsModule', 'no_login_callback')); $list = new MMList(S::user(), $this->domain); $success = $list->create_list($this->liste, utf8_decode($this->desc), $this->advertise, $this->modlevel, $this->inslevel, - $this->owners, $this->members); + $owners, $members); if ($success) { create_list($this->liste, $this->domain); } -- 2.1.4