Skip to content

Commit

Permalink
Merge pull request #24 from PetrKcz/patch-1
Browse files Browse the repository at this point in the history
Update PrestashopWebServiceLibrary.php
  • Loading branch information
Silentscripter authored Nov 11, 2018
2 parents 6be8846 + 02aef15 commit 7c0ac76
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/PrestashopWebServiceLibrary.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,9 @@ protected function executeCurl($url, array $options = array())
$response = curl_exec($session);

$error = false;
$info = curl_getinfo($session);
if ($response === false) {
$error = curl_error($session);
} else {
$info = curl_getinfo($session);
}

curl_close($session);
Expand Down

0 comments on commit 7c0ac76

Please sign in to comment.