Skip to content

Commit

Permalink
Fixing tiredness issues...
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Jul 22, 2016
1 parent 6ff94af commit 570e691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function doRequest(HttpRequest $r)
list($response, $err) = $r->execute();
$duration = (int)((microtime(true) - $rt) * 1000000);

if (false === $response->curlError)
if ('' === $response->curlError)
return [$duration, $response, $err];

$err = new Error(sprintf(
Expand Down

0 comments on commit 570e691

Please sign in to comment.