From de2125809d1ee5db2afe2897491f2f6931abf979 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 3 Oct 2010 12:02:51 +0200 Subject: [PATCH] Fix validation of mailing lists. Signed-off-by: Florent Bruneau --- include/validations/listes.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/validations/listes.inc.php b/include/validations/listes.inc.php index dec551b..087edd6 100644 --- a/include/validations/listes.inc.php +++ b/include/validations/listes.inc.php @@ -139,7 +139,7 @@ class ListeReq extends Validate return 1; } - $list = new MMList(S::user()->id(), $this->domain); + $list = new MMList(S::user(), $this->domain); $ret = $list->create_list($this->liste, utf8_decode($this->desc), $this->advertise, $this->modlevel, $this->inslevel, $this->owners, $this->members); -- 2.1.4