replace placeholders in email header and footer

This commit is contained in:
Uwe Steinmann 2019-06-28 10:46:20 +02:00
parent 514bdb88da
commit c17bd81148
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@
- do not check for Log.php during installation anymore, it's part of the
vendor directory anyway
- fix uploading documents from drop folder
- replace placeholders in email body header and footer
--------------------------------------------------------------------------------
Changes in version 5.1.11

View File

@ -106,8 +106,8 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
}
$message = getMLText("email_header", array(), "", $lang)."\r\n\r\n".getMLText($message, $params, "", $lang);
$message .= "\r\n\r\n".getMLText("email_footer", array(), "", $lang);
$message = getMLText("email_header", $params, "", $lang)."\r\n\r\n".getMLText($message, $params, "", $lang);
$message .= "\r\n\r\n".getMLText("email_footer", $params, "", $lang);
$headers = array ();
$headers['From'] = $from;