Skip to content

Commit

Permalink
revert option cert
Browse files Browse the repository at this point in the history
  • Loading branch information
ddevsr committed Dec 6, 2024
1 parent 7b8e2f6 commit c606b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/HTTP/CURLRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ protected function setCURLOptions(array $curlOptions = [], array $config = [])
}

// Certificate
if (array_key_exists('cert', $config) && $config['cert'] !== '' || $config['cert'] !== []) {
if (array_key_exists('cert', $config) && $config['cert']) {
$cert = $config['cert'];

if (is_array($cert)) {
Expand Down

0 comments on commit c606b1a

Please sign in to comment.