Proper, authenticated, ML creation in validations.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 16 Nov 2012 22:04:43 +0000 (23:04 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 16 Nov 2012 22:04:43 +0000 (23:04 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
include/validations/listes.inc.php

index 8ab84eb..623d1d6 100644 (file)
@@ -144,7 +144,7 @@ class ListeReq extends Validate
             $owners = array_values(array_unique($owners));
             $members = array_values(array_unique($members));
 
-            $success = MailingList::create($this->liste, $this->domain, null,
+            $success = MailingList::create($this->liste, $this->domain, S::user(),
                 $this->desc, $this->advertise,
                 $this->modlevel, $this->inslevel,
                 $owners, $members);