Fix: bug #18040 : Module adhrent : 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;
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;