r74449 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74448‎ | r74449 | r74450 >
Date:18:41, 7 October 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Swicthed from getValue to getText for checking amountOther in cc form
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
@@ -96,8 +96,8 @@
9797 $amount = number_format( $wgRequest->getText( 'amountGiven' ), 2, '.', '' );
9898 } elseif( isset( $_REQUEST['amount'] ) ) {
9999 $amount = '0.00';
100 - } elseif( $wgRequest->getValue( 'amount' ) == '-1' ) {
101 - $amount = $wgRequest->getValue( 'amountOther' );
 100+ } elseif( $wgRequest->getText( 'amount' ) == '-1' ) {
 101+ $amount = $wgRequest->getText( 'amountOther' );
102102 } else {
103103 $amount = '0.00';
104104 }

Status & tagging log