r76549 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76548‎ | r76549 | r76550 >
Date:23:45, 11 November 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Fixed typo of vars in curl_setopt statements
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/extras/recaptcha/recaptcha-php/recaptchalib.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/extras/recaptcha/recaptcha-php/recaptchalib.php
@@ -153,9 +153,9 @@
154154 curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
155155 curl_setopt( $ch, CURLOPT_TIMEOUT, RECAPTCHA_TIMEOUT );
156156 curl_setopt( $ch, CURLOPT_USERAGENT, 'reCAPTCHA/PHP' );
157 - curl_setopt($curl, CURLOPT_POSTFIELDS, $data );
158 - curl_setopt($curl, CURLOPT_HEADER, true );
159 - curl_setopt($curl, CURLOPT_HTTPHEADER, array( "Host: " . $host ) );
 157+ curl_setopt( $ch, CURLOPT_POSTFIELDS, $data );
 158+ curl_setopt( $ch, CURLOPT_HEADER, true );
 159+ curl_setopt( $ch, CURLOPT_HTTPHEADER, array( "Host: " . $host ) );
160160
161161 // set proxy settings if necessary
162162 if ( RECAPTCHA_USE_HTTP_PROXY ) {

Status & tagging log