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