Skip to content

Commit b356c86

Browse files
authored
Merge pull request #47 from nguyenanhung/develop
Release 2.0.5
2 parents 875e003 + 01adb62 commit b356c86

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/MyRequests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ public function curlRequest($url = '', $data = array(), $method = 'GET')
840840
$this->requests_header = isset($curl->requestHeaders) ? $curl->requestHeaders : (isset($curl->request_headers)) ? $curl->request_headers : NULL;
841841
$this->response_header = isset($curl->responseHeaders) ? $curl->responseHeaders : (isset($curl->response_headers)) ? $curl->response_headers : NULL;
842842
// Response
843-
if (isset($curl->error)) {
843+
if ($curl->error) {
844844
// Debug
845845
$this->logger->debug(__FUNCTION__, 'Full Data Curl Message and Http Message: ', $error_code);
846846
if ($this->errorResponseIsData === TRUE) {

src/ProjectInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
*/
1919
interface ProjectInterface
2020
{
21-
const VERSION = '2.0.4';
22-
const LAST_MODIFIED = '2021-08-03';
21+
const VERSION = '2.0.5';
22+
const LAST_MODIFIED = '2021-08-15';
2323
const MIN_PHP_VERSION = '7.0';
2424
const GET = 'GET';
2525
const HEAD = 'HEAD';

0 commit comments

Comments
 (0)