2
0
forked from Wavyzz/dolibarr

Fix mail send

This commit is contained in:
Maxime Kohlhaas
2018-03-11 15:09:25 +01:00
parent 0ac1d8b226
commit df185de6ae

View File

@@ -859,7 +859,7 @@ class FormMail extends Form
if (! GETPOST('modelselected','alpha') || GETPOST('modelmailselected') != '-1')
{
if ($arraydefaultmessage && $arraydefaultmessage->content) {
$defaultmessage = $arraydefaultmessage['content'];
$defaultmessage = $arraydefaultmessage->content;
} elseif (! is_numeric($this->withbody)) {
$defaultmessage = $this->withbody;
}