From 734e15dc6a0039706148c833168713dec4789260 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 20 Apr 2008 16:00:36 +0200 Subject: [PATCH] Humpf --- 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 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') { -- 2.1.4