From 5fb34c48bc724276e54103da1db1b2820c5346a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Fri, 2 Jul 2010 10:15:47 +0200 Subject: [PATCH] Fix bug in ml moderation cron MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- bin/cron/cron_ml_moderate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cron/cron_ml_moderate.php b/bin/cron/cron_ml_moderate.php index 13cf6d2..c6d22a6 100755 --- a/bin/cron/cron_ml_moderate.php +++ b/bin/cron/cron_ml_moderate.php @@ -37,7 +37,7 @@ while ($sent_mails < $globals->lists->max_mail_per_min if (XDB::affectedRows() == 0) { break; } - $query = XDB::query('SELECT a.fullname, a.uid, a.password, + $query = XDB::query('SELECT a.full_name, a.uid, a.password, ml.ml, ml.domain, ml.mid, ml.action, ml.message FROM accounts AS a INNER JOIN email_list_moderate AS ml ON (a.uid = ml.uid) -- 2.1.4