mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
same for rules, eg. rejection mail can be multiple lines too
This commit is contained in:
parent
5cb0c8c2e0
commit
55ea0ef426
@ -496,7 +496,7 @@ class emailadmin_script {
|
|||||||
if ($rule['status'] != 'DELETED') {
|
if ($rule['status'] != 'DELETED') {
|
||||||
$rule['action_arg'] = addslashes($rule['action_arg']);
|
$rule['action_arg'] = addslashes($rule['action_arg']);
|
||||||
// we need to handle \r\n here.
|
// we need to handle \r\n here.
|
||||||
$rule['action_arg'] = preg_replace("/\r\n/","\\n",$rule['action_arg']);
|
$rule['action_arg'] = preg_replace("/\r?\n/","\\n",$rule['action_arg']);
|
||||||
/* reset priority value. note: we only do this
|
/* reset priority value. note: we only do this
|
||||||
* for compatibility with Websieve. */
|
* for compatibility with Websieve. */
|
||||||
$rule['priority'] = $pcount;
|
$rule['priority'] = $pcount;
|
||||||
|
Loading…
Reference in New Issue
Block a user