Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -144,7 +144,7 @@ |
145 | 145 | * if paypal redirection is enabled ($wgPayflowGatewayPaypalURL must be defined) |
146 | 146 | * and the PaypalRedirect form value must be true |
147 | 147 | */ |
148 | | - if ( $wgRequest->getBool( 'PaypalRedirect' ) ) { |
| 148 | + if ( $wgRequest->getText( 'PaypalRedirect', 0 ) ) { |
149 | 149 | $this->paypalRedirect( $data ); |
150 | 150 | return; |
151 | 151 | } |