From c1f0dda46624ef241300ec6fac7a98b5d8f0d1c7 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 14 Jul 2009 20:51:58 +0000 Subject: [PATCH] BUGFIX Deleted duplicate call to curl_exec() in RestfulService (merge error from r69704) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81822 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- api/RestfulService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/RestfulService.php b/api/RestfulService.php index ffeee986d..45f606b46 100644 --- a/api/RestfulService.php +++ b/api/RestfulService.php @@ -119,8 +119,7 @@ class RestfulService extends ViewableData { 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);