From: Stéphane Jacob Date: Sun, 19 Jul 2009 21:11:47 +0000 (+0200) Subject: Fixes the ml reminder. X-Git-Tag: xorg/0.10.1~9 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e4a1bc55b6fb664e7857cb84a3eb0466ab4b59eb;p=platal.git Fixes the ml reminder. --- diff --git a/include/reminder/ml.inc.php b/include/reminder/ml.inc.php index 9732bb2..fa45b0b 100644 --- a/include/reminder/ml.inc.php +++ b/include/reminder/ml.inc.php @@ -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); } } diff --git a/templates/reminder/ml.tpl b/templates/reminder/ml.tpl index 8a26ada..62270ae 100644 --- a/templates/reminder/ml.tpl +++ b/templates/reminder/ml.tpl @@ -28,7 +28,7 @@
{if $details.info}