Skip to content

Commit

Permalink
Revert breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrama-ac committed Dec 7, 2017
1 parent 029e20b commit 9ce7dc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/Connector.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ public function curl($url, $params_data = array(), $verb = "", $custom_method =
$response = curl_exec($request);

$curl_error = curl_error($request);

if (! $response && $curl_error) {
$this->throwRequestException($curl_error);
if (!$response && $curl_error) {
return $curl_error;
}

$debug_str1 .= "curl_exec(\$ch);\n";
Expand Down

0 comments on commit 9ce7dc4

Please sign in to comment.