Fix: bug #18040 : Module adhérent : emails vides

This commit is contained in:
Laurent Destailleur 2006-11-11 01:22:27 +00:00
parent 5d7070e8e4
commit aea03883dd

View File

@ -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;