r59677 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59676‎ | r59677 | r59678 >
Date:21:00, 2 December 2009
Author:diana
Status:ok
Tags:
Comment:
change XML::tag per Tim's note
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
@@ -256,7 +256,7 @@
257257
258258 // open form
259259 $form .= Xml::openElement( 'div', array( 'id' => 'mw-creditcard-form' ) ) .
260 - Xml::tags( 'p', array( 'class' => 'creditcard-error-msg' ), $error['retryMsg'] ) .
 260+ Xml::element( 'p', array( 'class' => 'creditcard-error-msg' ), $error['retryMsg'] ) .
261261 Xml::openElement( 'form', array( 'name' => 'payment', 'method' => 'post', 'action' => '', 'onsubmit' => 'return validate_form(this)', 'autocomplete' => 'off' ) );
262262
263263 // donor amount and name
@@ -792,6 +792,7 @@
793793 //enable if we need this to get the Civi data to display correctly
794794 $transaction['optout'] = ($transaction['optout'] == "1") ? '0' : '1';
795795 $transaction['anonymous'] = ($transaction['anonymous'] == "1") ? '0' : '1';
 796+
796797 // hook to call stomp functions
797798 wfRunHooks( 'gwStomp', array( &$transaction ) );
798799 }

Status & tagging log