Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -260,7 +260,7 @@ |
261 | 261 | |
262 | 262 | // intro text |
263 | 263 | if ( $wgWikipediaForeverTheme ) { |
264 | | - $wgOut->addWikiText( '{{2009/Donate-header/' . $data[language] . '}}' ); |
| 264 | + $wgOut->addWikiText( '{{2009/Donate-header/' . $data['language'] . '}}' ); |
265 | 265 | } |
266 | 266 | |
267 | 267 | $form = Xml::openElement( 'div', array( 'id' => 'mw-creditcard' ) ) . |
— | — | @@ -781,7 +781,7 @@ |
782 | 782 | wfRunHooks( 'gwStomp', array( &$transaction ) ); |
783 | 783 | |
784 | 784 | if ( $wgExternalThankYouPage ) { |
785 | | - $wgOut->redirect( $wgExternalThankYouPage . "/" . $data[language] ); |
| 785 | + $wgOut->redirect( $wgExternalThankYouPage . "/" . $data['language'] ); |
786 | 786 | } else { |
787 | 787 | // display response message |
788 | 788 | $wgOut->addHTML( '<h3 class="response_message">' . $responseMsg . '</h3>' ); |