mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-09 19:38:57 +00:00
propperly check for translation of html body (Closes: #510)
This commit is contained in:
parent
175dd6902d
commit
bc4a1b5dac
|
@ -133,7 +133,7 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
|
||||||
}
|
}
|
||||||
|
|
||||||
$bodyhtml = '';
|
$bodyhtml = '';
|
||||||
if(isset($params['__body_html__']) || getMLText($messagekey.'_html')) {
|
if(isset($params['__body_html__']) || getMLText($messagekey.'_html', $params, "", $lang)) {
|
||||||
if(!isset($params['__skip_header__']) || !$params['__skip_header__']) {
|
if(!isset($params['__skip_header__']) || !$params['__skip_header__']) {
|
||||||
if(!isset($params['__header_html__']))
|
if(!isset($params['__header_html__']))
|
||||||
$bodyhtml .= getMLText("email_header_html", $params, "", $lang)."\r\n\r\n";
|
$bodyhtml .= getMLText("email_header_html", $params, "", $lang)."\r\n\r\n";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user