X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment.php;h=11926f9c840730bbc0368c77ca10411ab2195f7d;hb=734e15dc6a0039706148c833168713dec4789260;hp=ca19fb2cb086612b29305235b45f822c884bf9a0;hpb=17793ccf1af9c3d8b7e294299fe0a7b5af07cc92;p=platal.git diff --git a/modules/payment.php b/modules/payment.php index ca19fb2..11926f9 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -1,6 +1,6 @@ ",$femme ? "Chère" : "Cher",$conf_text); $conf_text = str_replace("",$femme ? "Chère" : "Cher",$conf_text); + global $globals; $mymail = new PlMailer(); $mymail->setFrom($conf_mail); $mymail->addTo("\"$prenom $nom\" <$forlife@" . $globals->mail->domain . '>'); @@ -317,6 +318,7 @@ class PaymentModule extends PLModule $conf_text = str_replace("",$femme ? "Chère" : "Cher",$conf_text); $conf_text = str_replace("",$femme ? "Chère" : "Cher",$conf_text); + global $globals; $mymail = new PlMailer(); $mymail->setFrom($conf_mail); $mymail->addTo("\"$prenom $nom\" <$forlife@" . $globals->mail->domain . '>');