Index: trunk/phase3/includes/HttpFunctions.php |
— | — | @@ -56,8 +56,10 @@ |
57 | 57 | |
58 | 58 | curl_setopt( $c, CURLOPT_TIMEOUT, $timeout ); |
59 | 59 | curl_setopt( $c, CURLOPT_USERAGENT, self :: userAgent() ); |
60 | | - if ( $method == 'POST' ) |
| 60 | + if ( $method == 'POST' ) { |
61 | 61 | curl_setopt( $c, CURLOPT_POST, true ); |
| 62 | + curl_setopt( $c, CURLOPT_POSTFIELDS, '' ); |
| 63 | + } |
62 | 64 | else |
63 | 65 | curl_setopt( $c, CURLOPT_CUSTOMREQUEST, $method ); |
64 | 66 | |