From 00696e36ab66dccf02ea0a567a99be7156515976 Mon Sep 17 00:00:00 2001 From: Park0 Date: Mon, 10 Jul 2017 15:26:06 +0200 Subject: When there is no connection create one When there is no connection create one --- php-client/class.phpipam-api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'php-client') 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(); -- cgit v1.2.3