r77177 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77176‎ | r77177 | r77178 >
Date:19:50, 23 November 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Changed how we're checking for paypalRedirect value to getText rather than getBool because of unexpected behavior
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
@@ -144,7 +144,7 @@
145145 * if paypal redirection is enabled ($wgPayflowGatewayPaypalURL must be defined)
146146 * and the PaypalRedirect form value must be true
147147 */
148 - if ( $wgRequest->getBool( 'PaypalRedirect' ) ) {
 148+ if ( $wgRequest->getText( 'PaypalRedirect', 0 ) ) {
149149 $this->paypalRedirect( $data );
150150 return;
151151 }

Status & tagging log