Skip to content

Commit 3cdb9a8

Browse files
committed
Fixed: FS#1642 - Adding new content filters breaks header_checks, body_checks etc.
1 parent 5645a5e commit 3cdb9a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/plugins-available/postfix_filter_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function update($event_name,$data) {
8484
$rules = $app->db->queryAllRecords($sql);
8585
$content = '';
8686
foreach($rules as $rule) {
87-
$content .= $rule["pattern"]."\n";
87+
$content .= $rule["pattern"];
8888
$content .= " ".$rule["action"]." ".$rule["data"]."\n";
8989
}
9090

@@ -115,7 +115,7 @@ function update($event_name,$data) {
115115
$rules = $app->db->queryAllRecords($sql);
116116
$content = '';
117117
foreach($rules as $rule) {
118-
$content .= $rule["pattern"]."\n";
118+
$content .= $rule["pattern"];
119119
$content .= " ".$rule["action"]." ".$rule["data"]."\n";
120120
}
121121

0 commit comments

Comments
 (0)