From 84098b4bb2109676bc39c535a2610f885acfd4cf Mon Sep 17 00:00:00 2001 From: Anne Limoges Date: Tue, 14 May 2013 18:26:14 +0200 Subject: [PATCH] Fix bug on paypal returns. --- modules/payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.1.4