Fixes comment display in payment email (Closes #1375).
authorStéphane Jacob <sj@m4x.org>
Fri, 31 Dec 2010 11:57:03 +0000 (12:57 +0100)
committerStéphane Jacob <sj@m4x.org>
Fri, 31 Dec 2010 11:57:03 +0000 (12:57 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/payment.php

index 39f8193..079e524 100644 (file)
@@ -250,7 +250,7 @@ class PaymentModule extends PLModule
 
         /* on genere le mail de confirmation */
         $conf_text = str_replace(
-            array('<prenom>', '<nom>', '<promo>', '<montant>', '<salutation>', '<cher>', 'comment>'),
+            array('<prenom>', '<nom>', '<promo>', '<montant>', '<salutation>', '<cher>', '<comment>'),
             array($user->firstName(), $user->lastName(), $user->promo(), $montant,
                   $user->isFemale() ? 'Chère' : 'Cher', $user->isFemale() ? 'Chère' : 'Cher',
                   Env::v('comment')), $conf_text);