Merge pull request #12743 from hregis/10.0_mc
FIX missing nl2br conversion
This commit is contained in:
commit
adb4f33312
@ -444,7 +444,7 @@ class CMailFile
|
|||||||
} else {
|
} else {
|
||||||
$this->message->setBody($msg, 'text/plain');
|
$this->message->setBody($msg, 'text/plain');
|
||||||
// And optionally an alternative body
|
// And optionally an alternative body
|
||||||
$this->message->addPart($msg, 'text/html');
|
$this->message->addPart(dol_nl2br($msg), 'text/html');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->atleastonefile)
|
if ($this->atleastonefile)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user