Fix: bug #18040 : Module adhérent : emails vides
This commit is contained in:
parent
5d7070e8e4
commit
aea03883dd
@ -167,10 +167,9 @@ class Adherent
|
|||||||
$from=$conf->email_from;
|
$from=$conf->email_from;
|
||||||
if ($conf->global->ADHERENT_MAIL_FROM) $from=$conf->global->ADHERENT_MAIL_FROM;
|
if ($conf->global->ADHERENT_MAIL_FROM) $from=$conf->global->ADHERENT_MAIL_FROM;
|
||||||
|
|
||||||
$mailfile = new CMailFile($subject,$this->email,$from,$mesg,
|
$mailfile = new CMailFile($subjectosend,$this->email,$from,$texttosend,
|
||||||
array(),array(),array(),
|
array(),array(),array(),
|
||||||
'', '', 0, $msgishtml);
|
'', '', 0, $msgishtml);
|
||||||
|
|
||||||
if ($mailfile->sendfile())
|
if ($mailfile->sendfile())
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user