/web/edit/mail/index.php: fix for new lines in autoreply

Because JSON is properly escaped now, see a8d857f6d5
This commit is contained in:
dpeca 2017-12-07 17:28:16 +01:00 committed by GitHub
commit a30f510336
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,7 @@ if ((!empty($_GET['domain'])) && (!empty($_GET['account']))) {
$autoreply_str = json_decode(implode('', $output), true);
unset($output);
$v_autoreply_message = $autoreply_str[$v_account]['MSG'];
$v_autoreply_message=str_replace("\\n", "\n", $v_autoreply_message);
}
}