r75117 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75116‎ | r75117 | r75118 >
Date:21:52, 20 October 2010
Author:kaldari
Status:deferred
Tags:
Comment:
fixing twocolumnletter2 again
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter2.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoColumnLetter2.php
@@ -79,7 +79,7 @@
8080 }
8181
8282 protected function generateBillingFields() {
83 - global $wgScriptPath, $wgPayflowGatewayPaypalURL;
 83+ global $wgScriptPath, $wgPayflowGatewayPaypalURL, $wgRequest;
8484 $scriptPath = "$wgScriptPath/extensions/DonationInterface/payflowpro_gateway/includes";
8585
8686 $form = '';
@@ -106,6 +106,7 @@
107107 $form .= $this->getEmailField();
108108
109109 // anonymous
 110+ $comment_opt_value = ( $wgRequest->wasPosted() ) ? $this->form_data[ 'comment-option' ] : true;
110111 $form .= '<tr>';
111112 $form .= '<td class="check-option" colspan="2">' . Xml::check( 'comment-option', $comment_opt_value );
112113 $form .= ' ' . Xml::label( wfMsg( 'payflowpro_gateway-anon-message' ), 'comment-option' ) . '</td>';

Status & tagging log