From: Anne Limoges Date: Tue, 14 May 2013 16:26:14 +0000 (+0200) Subject: Fix bug on paypal returns. X-Git-Tag: xorg/1.1.8~3 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=84098b4bb2109676bc39c535a2610f885acfd4cf;p=platal.git Fix bug on paypal returns. --- diff --git a/modules/payment.php b/modules/payment.php index b97b569..fad8c32 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -338,7 +338,7 @@ class PaymentModule extends PLModule /* raison */ $reason = ($status == 'Pending') ? Env::s('pending_reason') : Env::s('reason_code'); /* reference complete de la commande */ - $fullref = Env::s('cm'); + $fullref = str_replace('%2d','-',Env::s('cm'); /* montant de la transaction */ $montant = Env::s('amt'); /* devise */