if ($header == 'x-spam-status') {
if (preg_match('/^(.*),\s*score=([\d\.]+).*tests=\[(.*)\].*/',
$value, $matches)) {
- $sa_tests = array('x-spam-status' => $matches[1],
+ $sa_tests = array('x-spam-status' => $matches[1],
'score' => $matches[2], 'tests' => $matches[3]);
}
} else if ($header == 'x-spam-flag') {