FIX missing nl2br conversion
This commit is contained in:
parent
5863319660
commit
8321fe6ad2
@ -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