diff options
author | Park0 <Park0@users.noreply.github.com> | 2017-07-10 15:26:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-10 15:26:06 +0200 |
commit | 00696e36ab66dccf02ea0a567a99be7156515976 (patch) | |
tree | 19d0d00009d4e14a621e483f3407c7bed95c6225 /php-client | |
parent | d12e0588b21eafc2980c089e88e2ec83568f9cc9 (diff) | |
download | phpipam-api-clients-00696e36ab66dccf02ea0a567a99be7156515976.tar.gz |
When there is no connection create one
When there is no connection create one
Diffstat (limited to 'php-client')
-rw-r--r-- | php-client/class.phpipam-api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-client/class.phpipam-api.php b/php-client/class.phpipam-api.php index 80c46f0..3fa59fe 100644 --- a/php-client/class.phpipam-api.php +++ b/php-client/class.phpipam-api.php @@ -643,7 +643,7 @@ class phpipam_api_client { */ private function curl_set_connection ($token_file) { // check if it exists - if ($this->Connection!==false) { + if ($this->Connection===false) { // Get cURL resource $this->Connection = curl_init(); |