Commit 3cdb9a8f authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#1642 - Adding new content filters breaks header_checks, body_checks etc.

parent 5645a5e5
...@@ -84,7 +84,7 @@ class postfix_filter_plugin { ...@@ -84,7 +84,7 @@ class postfix_filter_plugin {
$rules = $app->db->queryAllRecords($sql); $rules = $app->db->queryAllRecords($sql);
$content = ''; $content = '';
foreach($rules as $rule) { foreach($rules as $rule) {
$content .= $rule["pattern"]."\n"; $content .= $rule["pattern"];
$content .= " ".$rule["action"]." ".$rule["data"]."\n"; $content .= " ".$rule["action"]." ".$rule["data"]."\n";
} }
...@@ -115,7 +115,7 @@ class postfix_filter_plugin { ...@@ -115,7 +115,7 @@ class postfix_filter_plugin {
$rules = $app->db->queryAllRecords($sql); $rules = $app->db->queryAllRecords($sql);
$content = ''; $content = '';
foreach($rules as $rule) { foreach($rules as $rule) {
$content .= $rule["pattern"]."\n"; $content .= $rule["pattern"];
$content .= " ".$rule["action"]." ".$rule["data"]."\n"; $content .= " ".$rule["action"]." ".$rule["data"]."\n";
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment