Humpf
authorAymeric Augustin <aymeric.augustin@m4x.org>
Sun, 20 Apr 2008 14:00:36 +0000 (16:00 +0200)
committerAymeric Augustin <aymeric.augustin@m4x.org>
Sun, 20 Apr 2008 14:00:36 +0000 (16:00 +0200)
bin/cron/cron_ml_moderate.php

index e2b261e..8ee7d72 100755 (executable)
@@ -101,7 +101,7 @@ while ($sent_mails < $globals->lists->max_mail_per_min
         $end_of_headers = strpos($raw_mail, "\n\n");
     }
     $x_spam_flag = '';
-    if (preg_match('/^X-Spam-Flag: ([a-zA-Z]+), tests=bogofilter/m', substr($raw_mail, 0, $end_of_headers + 1), $matches) {
+    if (preg_match('/^X-Spam-Flag: ([a-zA-Z]+), tests=bogofilter/m', substr($raw_mail, 0, $end_of_headers + 1), $matches)) {
         $x_spam_flag = $matches[1];
     }
     if ($x_spam_flag == 'Unsure') {