X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment.php;h=543eba1fd95ca698422577ae65e8bd44b587afcb;hb=164566891eef6e4027b2dfccda0040d37f10605b;hp=39f819321ea095dd13025b8ce7e58b29d37bfcb8;hpb=cafb410fea6f257f45da08631c6cdb5c35f86b17;p=platal.git diff --git a/modules/payment.php b/modules/payment.php index 39f8193..543eba1 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -180,6 +180,7 @@ class PaymentModule extends PLModule $page->assign('meth', $meth); $page->assign('pay', $pay); $page->assign('evtlink', $pay->event()); + $page->assign('sex', S::user()->isFemale()); } function handler_cyber_return(&$page, $uid = null) @@ -250,7 +251,7 @@ class PaymentModule extends PLModule /* on genere le mail de confirmation */ $conf_text = str_replace( - array('', '', '', '', '', '', 'comment>'), + array('', '', '', '', '', '', ''), array($user->firstName(), $user->lastName(), $user->promo(), $montant, $user->isFemale() ? 'Chère' : 'Cher', $user->isFemale() ? 'Chère' : 'Cher', Env::v('comment')), $conf_text);