From: Aymeric Augustin Date: Sun, 20 Apr 2008 14:00:36 +0000 (+0200) Subject: Humpf X-Git-Tag: core/1.0.0~243 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=734e15dc6a0039706148c833168713dec4789260;p=platal.git Humpf --- diff --git a/bin/cron/cron_ml_moderate.php b/bin/cron/cron_ml_moderate.php index e2b261e..8ee7d72 100755 --- a/bin/cron/cron_ml_moderate.php +++ b/bin/cron/cron_ml_moderate.php @@ -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') {