Skip to content

Commit b28bfb8

Browse files
author
Marius Burkard
committed
Merge branch '5964-mail-filter-error' into 'develop'
fix bad newlines in sieve Reject action Closes #5964 See merge request ispconfig/ispconfig3!1355
2 parents f6420c0 + 0c490a4 commit b28bfb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/plugins/mail_user_filter_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private function mail_user_filter_get_rule($page_form) {
217217
} elseif ($page_form->dataRecord["action"] == 'stop') {
218218
$content .= " stop;\n";
219219
} elseif ($page_form->dataRecord["action"] == 'reject') {
220-
$content .= ' reject "'.$page_form->dataRecord["target"].'"; stop;\n\n';
220+
$content .= ' reject "'.$page_form->dataRecord["target"].'";' . "\n stop;\n";
221221
} else {
222222
$content .= " discard;\n stop;\n";
223223
}

0 commit comments

Comments
 (0)