Merge pull request #12743 from hregis/10.0_mc

FIX missing nl2br conversion
This commit is contained in:
Laurent Destailleur 2019-12-22 11:41:01 +01:00 committed by GitHub
commit adb4f33312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)