aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Park0 <Park0@users.noreply.github.com> 2017-07-10 15:26:06 +0200
committerGravatar GitHub <noreply@github.com> 2017-07-10 15:26:06 +0200
commit00696e36ab66dccf02ea0a567a99be7156515976 (patch)
tree19d0d00009d4e14a621e483f3407c7bed95c6225
parentd12e0588b21eafc2980c089e88e2ec83568f9cc9 (diff)
downloadphpipam-api-clients-00696e36ab66dccf02ea0a567a99be7156515976.tar.gz
When there is no connection create one
When there is no connection create one
-rw-r--r--php-client/class.phpipam-api.php2
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();