From e4a1bc55b6fb664e7857cb84a3eb0466ab4b59eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 19 Jul 2009 23:11:47 +0200 Subject: [PATCH] Fixes the ml reminder. --- include/reminder/ml.inc.php | 3 +-- templates/reminder/ml.tpl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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} -- 2.1.4