From fb25f6a6dae580e726b4786c852ab21e9abe22c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 7 Mar 2011 14:56:54 +0100 Subject: [PATCH] Fixes comments in paypal payments. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/payment.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.1.4