Skip to content

Commit

Permalink
MINOR Merged r81822 from trunk
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@81823 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu authored and Sam Minnee committed Feb 2, 2011
1 parent 6394679 commit cae70c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/RestfulService.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ public function request($subURL = '', $method = "GET", $data = null, $headers =
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
}

$responseBody = curl_exec($ch);

// Run request
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$responseBody = curl_exec($ch);
$curlError = curl_error($ch);
Expand Down

0 comments on commit cae70c9

Please sign in to comment.