Fix bug in ml moderation cron
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 2 Jul 2010 08:15:47 +0000 (10:15 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 2 Jul 2010 08:15:47 +0000 (10:15 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
bin/cron/cron_ml_moderate.php

index 13cf6d2..c6d22a6 100755 (executable)
@@ -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)