Index: trunk/extensions/DonationInterface/payflowpro_gateway/extras/recaptcha/recaptcha-php/recaptchalib.php |
— | — | @@ -153,9 +153,9 @@ |
154 | 154 | curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true ); |
155 | 155 | curl_setopt( $ch, CURLOPT_TIMEOUT, RECAPTCHA_TIMEOUT ); |
156 | 156 | 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 ) ); |
160 | 160 | |
161 | 161 | // set proxy settings if necessary |
162 | 162 | if ( RECAPTCHA_USE_HTTP_PROXY ) { |