r60070 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60069‎ | r60070 | r60071 >
Date:09:47, 15 December 2009
Author:tomasz
Status:ok
Tags:
Comment:
syncing up global name
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -766,7 +766,7 @@
767767 function fnPayflowDisplayApprovedResults( $data, $responseArray, $responseMsg ) {
768768 require_once( 'includes/countryCodes.inc' );
769769
770 - global $wgOut, $wgThankYouPage;
 770+ global $wgOut, $wgExternalThankYouPage;
771771 $transaction = '';
772772 $tracked = '';
773773
@@ -784,8 +784,8 @@
785785 // hook to call stomp functions
786786 wfRunHooks( 'gwStomp', array( &$transaction ) );
787787
788 - if ( $wgExternalThankYou ) {
789 - $wgOut->redirect( $wgThankYouPage . $data[language] );
 788+ if ( $wgExternalThankYouPage ) {
 789+ $wgOut->redirect( $wgExternalThankYouPage . "/" . $data[language] );
790790 } else {
791791 // display response message
792792 $wgOut->addHTML( '<h3 class="response_message">' . $responseMsg . '</h3>' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r60071picking up r60069, r60070tomasz09:59, 15 December 2009

Status & tagging log