From aea03883dd2d1361137dac81d0a6a911a3574966 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 11 Nov 2006 01:22:27 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20bug=20#18040=20:=20Module=20adh=E9rent?= =?UTF-8?q?=20:=20emails=20vides?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/adherents/adherent.class.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/htdocs/adherents/adherent.class.php b/htdocs/adherents/adherent.class.php index 68c9f8a97e2..ce0ad16e371 100644 --- a/htdocs/adherents/adherent.class.php +++ b/htdocs/adherents/adherent.class.php @@ -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;