Commit b28bfb86 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '5964-mail-filter-error' into 'develop'

fix bad newlines in sieve Reject action

Closes #5964

See merge request !1355
parents f6420c00 0c490a4d
......@@ -217,7 +217,7 @@ class mail_user_filter_plugin {
} elseif ($page_form->dataRecord["action"] == 'stop') {
$content .= " stop;\n";
} elseif ($page_form->dataRecord["action"] == 'reject') {
$content .= ' reject "'.$page_form->dataRecord["target"].'"; stop;\n\n';
$content .= ' reject "'.$page_form->dataRecord["target"].'";' . "\n stop;\n";
} else {
$content .= " discard;\n stop;\n";
}
......
Supports Markdown
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