FIX missing nl2br conversion

This commit is contained in:
Regis Houssin 2019-12-22 09:13:34 +01:00
parent 5863319660
commit 8321fe6ad2

View File

@ -444,7 +444,7 @@ class CMailFile
} else {
$this->message->setBody($msg, 'text/plain');
// And optionally an alternative body
$this->message->addPart($msg, 'text/html');
$this->message->addPart(dol_nl2br($msg), 'text/html');
}
if ($this->atleastonefile)