aboutsummaryrefslogtreecommitdiff
path: root/php-client/class.phpipam-api.php
diff options
context:
space:
mode:
Diffstat (limited to 'php-client/class.phpipam-api.php')
-rw-r--r--php-client/class.phpipam-api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/php-client/class.phpipam-api.php b/php-client/class.phpipam-api.php
index a668dd2..3fa59fe 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
@@ -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();