Skip to content

Commit 2741e6e

Browse files
committed
Merge branch 'refactor-abstract-config-and-provider'
2 parents 95bffb4 + c1ce04b commit 2741e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ZabbixApiAbstract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function __construct($apiUrl, $user, $password, $httpUser, $httpPassword,
110110

111111
$this->sslContext = $sslContext;
112112

113-
$this->verifySsl = $checkSsl;
113+
$this->checkSsl = $checkSsl;
114114

115115
if ($httpUser && $httpPassword) {
116116
$this->setBasicAuthorization($httpUser, $httpPassword);
@@ -245,7 +245,7 @@ public function request($method, $params=null, $resultArrayKey='', $auth=true)
245245
if ($this->isSecure($this->apiUrl)) {
246246
$ssl = array(
247247
'ssl' => array(
248-
'verify_peer' => $this->verifySsl
248+
'verify_peer' => $this->checkSsl
249249
)
250250
);
251251

0 commit comments

Comments
 (0)