From: Stéphane Jacob Date: Mon, 7 Mar 2011 13:56:54 +0000 (+0100) Subject: Fixes comments in paypal payments. X-Git-Tag: xorg/1.1.0~58 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=fb25f6a6dae580e726b4786c852ab21e9abe22c6;p=platal.git Fixes comments in paypal payments. Signed-off-by: Stéphane Jacob --- diff --git a/modules/payment.php b/modules/payment.php index 0005e13..08cd05d 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -446,10 +446,10 @@ class PaymentModule extends PLModule } /* on genere le mail de confirmation */ - $conf_text = str_replace(array('', '', '', '', '', ''), + $conf_text = str_replace(array('', '', '', '', '', '', ''), array($user->firstName(), $user->lastName(), $user->promo(), $montant, - $user->isFemale() ? 'Chère' : 'Cher', - $user->isFemale() ? 'Chère' : 'Cher'), $conf_text); + $user->isFemale() ? 'Chère' : 'Cher', $user->isFemale() ? 'Chère' : 'Cher', + Env::v('comment')), $conf_text); global $globals; $mymail = new PlMailer();