From: x2003bruneau Date: Thu, 21 Jun 2007 13:49:53 +0000 (+0000) Subject: Fix paypal return template when using Xnet X-Git-Tag: xorg/0.9.15~260 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=da1576601ca1b7c1dfab02d3f1891a01cee1ad95;p=platal.git Fix paypal return template when using Xnet git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1861 839d8a87-29fc-0310-9880-83ba4fa771e5 --- 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');