Skip to content

Commit

Permalink
Fix mail send
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-maxime committed Mar 11, 2018
1 parent 0ac1d8b commit df185de
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 df185de

Please sign in to comment.