Skip to content

Commit

Permalink
Merge pull request #8343 from atm-maxime/develop
Browse files Browse the repository at this point in the history
Fix mail send
  • Loading branch information
eldy committed Mar 11, 2018
2 parents 0005b1b + df185de commit baf6fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/html.formmail.class.php
Expand Up @@ -859,7 +859,7 @@ function get_form($addfileaction='addfile',$removefileaction='removefile')
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;
}
Expand Down

0 comments on commit baf6fc6

Please sign in to comment.