Index: branches/fundraising/deployment/payments_1.17/extensions/DonationInterface/globalcollect_gateway/globalcollect_resultswitcher.body.php |
— | — | @@ -105,10 +105,10 @@ |
106 | 106 | global $wgOut; |
107 | 107 | |
108 | 108 | $displayData = $this->adapter->getDisplayData(); |
109 | | - $failpage = $this->adapter->getGlobal( 'FailPage' ); |
| 109 | + $failpage = $this->adapter->getFailPage(); |
110 | 110 | |
111 | 111 | if ( $failpage ) { |
112 | | - $wgOut->redirect( $failpage . "/" . $displayData['language'] ); |
| 112 | + return $failpage; |
113 | 113 | } else { |
114 | 114 | // Get the page we're going to send them back to. |
115 | 115 | $referrer = $displayData['referrer']; |