v1.2.4-cvs
----------
+[jan] Fix procmail scripts when using composite headers (Bug #8804).
[jan] Support some non-standard Date: headers in Sieve vacation rules
(Request #8783).
[jan] Support composite header rules with IMAP backends (Request #7343).
default:
// convert 'field' to PCRE pattern matching
- if (strpos($condition['field'], ',') == false) {
+ if (!strpos($condition['field'], ',')) {
$string = '^' . $condition['field'] . ':';
} else {
- $string .= '/^(' . str_replace(',', '|', $condition['field']) . '):';
+ $string .= '^(' . str_replace(',', '|', $condition['field']) . '):';
}
$prefix = ' ';
}