r101180 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101179‎ | r101180 | r101181 >
Date:19:43, 28 October 2011
Author:kaldari
Status:ok
Tags:
Comment:
fixing token mismatch error
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_gateway.body.php (modified) (history)
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -68,7 +68,7 @@
6969 } else {
7070 if ( !$this->adapter->isCache() ) {
7171 // if we're not caching, there's a token mismatch
72 - $this->errors['general']['token-mismatch'] = wfMsg( $gateway_id . '_gateway-token-mismatch' );
 72+ $this->errors['general']['token-mismatch'] = wfMsg( 'donate_interface-token-mismatch' );
7373 }
7474 $this->displayForm( $this->errors );
7575 }
Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_gateway.body.php
@@ -139,7 +139,7 @@
140140 } else {
141141 if ( !$this->adapter->isCache() ) {
142142 // if we're not caching, there's a token mismatch
143 - $this->errors['general']['token-mismatch'] = wfMsg( $gateway_id . '_gateway-token-mismatch' );
 143+ $this->errors['general']['token-mismatch'] = wfMsg( 'donate_interface-token-mismatch' );
144144 }
145145 $this->displayForm( $this->errors );
146146 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r101189MFT r101180awjrichards20:18, 28 October 2011

Status & tagging log