Fix paypal return template when using Xnet
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 21 Jun 2007 13:49:53 +0000 (13:49 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 21 Jun 2007 13:49:53 +0000 (13:49 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1861 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/payment.php

index 2e9aaa1..92c6cc4 100644 (file)
@@ -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');