Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
lolo888
ISPConfig 3
Commits
3cdb9a8f
Commit
3cdb9a8f
authored
Jun 08, 2011
by
tbrehm
Browse files
Fixed: FS#1642 - Adding new content filters breaks header_checks, body_checks etc.
parent
5645a5e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/postfix_filter_plugin.inc.php
View file @
3cdb9a8f
...
...
@@ -84,7 +84,7 @@ class postfix_filter_plugin {
$rules
=
$app
->
db
->
queryAllRecords
(
$sql
);
$content
=
''
;
foreach
(
$rules
as
$rule
)
{
$content
.
=
$rule
[
"pattern"
]
.
"
\n
"
;
$content
.
=
$rule
[
"pattern"
];
$content
.
=
" "
.
$rule
[
"action"
]
.
" "
.
$rule
[
"data"
]
.
"
\n
"
;
}
...
...
@@ -115,7 +115,7 @@ class postfix_filter_plugin {
$rules
=
$app
->
db
->
queryAllRecords
(
$sql
);
$content
=
''
;
foreach
(
$rules
as
$rule
)
{
$content
.
=
$rule
[
"pattern"
]
.
"
\n
"
;
$content
.
=
$rule
[
"pattern"
];
$content
.
=
" "
.
$rule
[
"action"
]
.
" "
.
$rule
[
"data"
]
.
"
\n
"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment