Skip to content

Commit c606b1a

Browse files
committed
revert option cert
1 parent 7b8e2f6 commit c606b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/HTTP/CURLRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ protected function setCURLOptions(array $curlOptions = [], array $config = [])
531531
}
532532

533533
// Certificate
534-
if (array_key_exists('cert', $config) && $config['cert'] !== '' || $config['cert'] !== []) {
534+
if (array_key_exists('cert', $config) && $config['cert']) {
535535
$cert = $config['cert'];
536536

537537
if (is_array($cert)) {

0 commit comments

Comments
 (0)