Oops.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 2 Jul 2011 09:33:48 +0000 (11:33 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 2 Jul 2011 09:33:48 +0000 (11:33 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/xnetgrp.php

index 9b04afc..87daf14 100644 (file)
@@ -1278,7 +1278,7 @@ class XnetGrpModule extends PLModule
             }
 
             if ($globals->asso('has_nl')) {
-                $nl = NewsLetter::forGroup($globals->asso('shortname');
+                $nl = NewsLetter::forGroup($globals->asso('shortname'));
                 // Updates group's newsletter subscription.
                 if (Post::i('newsletter') == 1) {
                     $nl->subscribe($user);