mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +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') {
|
||||
$rule['action_arg'] = addslashes($rule['action_arg']);
|
||||
// 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
|
||||
* for compatibility with Websieve. */
|
||||
$rule['priority'] = $pcount;
|
||||
|
Loading…
Reference in New Issue
Block a user