http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96068

Revision: 96068
Author:   kaldari
Date:     2011-09-01 23:40:16 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
follow-up to r96062, correct use of array_key_exists()

Modified Paths:
--------------
    trunk/extensions/DonationInterface/payflowpro_gateway/forms/RapidHtml.php

Modified: 
trunk/extensions/DonationInterface/payflowpro_gateway/forms/RapidHtml.php
===================================================================
--- trunk/extensions/DonationInterface/payflowpro_gateway/forms/RapidHtml.php   
2011-09-01 23:37:27 UTC (rev 96067)
+++ trunk/extensions/DonationInterface/payflowpro_gateway/forms/RapidHtml.php   
2011-09-01 23:40:16 UTC (rev 96068)
@@ -135,7 +135,7 @@
                foreach ( $this->data_tokens as $token ) {
                        $key = substr( $token, 1, strlen( $token )); //get the 
token string w/o the '@'
                        if ( $key == 'emailAdd' ) $key = 'email';
-                       if ( array_key_exists( $this->form_data[ $key ] )) {
+                       if ( array_key_exists( $key, $this->form_data )) {
                                $replace = $this->form_data[ $key ];
                        } else {
                                $replace = '';


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to