From da1576601ca1b7c1dfab02d3f1891a01cee1ad95 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Thu, 21 Jun 2007 13:49:53 +0000 Subject: [PATCH] Fix paypal return template when using Xnet git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1861 839d8a87-29fc-0310-9880-83ba4fa771e5 --- modules/payment.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/payment.php b/modules/payment.php index 2e9aaa1..92c6cc4 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -245,11 +245,7 @@ class PaymentModule extends PLModule function handler_paypal_return(&$page, $uid = null) { - if (!empty($GLOBALS['IS_XNET_SITE'])) { - new_group_open_page('payment/retour_paypal.tpl'); - } else { - $page->changeTpl('payment/retour_paypal.tpl'); - } + $page->changeTpl('payment/retour_paypal.tpl'); /* reference banque (numero de transaction) */ $no_transaction = Env::s('tx'); -- 2.1.4