Fixes the ml reminder.
authorStéphane Jacob <sj@m4x.org>
Sun, 19 Jul 2009 21:11:47 +0000 (23:11 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 20 Jul 2009 20:00:00 +0000 (22:00 +0200)
include/reminder/ml.inc.php
templates/reminder/ml.tpl

index 9732bb2..fa45b0b 100644 (file)
@@ -36,11 +36,10 @@ class ReminderMl extends Reminder
                                 S::i('uid'));
             while (list($sub, $domain) = $res->next()) {
                 if (array_shift($subs) == "$sub@$domain") {
-                    list($sub, $domain) = explode('@', $list);
                     if ($domain != $current_domain) {
                         $current_domain = $domain;
-                        $client = new MMList(S::v('uid'), S::v('password'), $domain);
                     }
+                    $client = new MMList(S::v('uid'), S::v('password'), $domain);
                     $client->subscribe($sub);
                 }
             }
index 8a26ada..62270ae 100644 (file)
@@ -28,7 +28,7 @@
     <dt>
       <label>
         <input type='checkbox' value='1' checked="checked" name="sub_ml[{$list}]" />
-        {$list}*&nbsp;: {$details.desc}
+        {$list}&nbsp;: {$details.desc}
       </label>
     </dt>
     {if $details.info}