From d12e0588b21eafc2980c089e88e2ec83568f9cc9 Mon Sep 17 00:00:00 2001 From: Park0 Date: Mon, 10 Jul 2017 14:53:52 +0200 Subject: Fixed typo Fixed typo --- 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 a668dd2..80c46f0 100644 --- a/php-client/class.phpipam-api.php +++ b/php-client/class.phpipam-api.php @@ -77,7 +77,7 @@ class phpipam_api_client { * @var bool * @access private */ - private $Connecton = false; + private $Connection = false; /** * Access token for phpipam -- cgit v1.2.3 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