aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miha Petkovsek <miha.petkovsek@gmail.com> 2019-03-15 08:45:50 +0100
committerGravatar GitHub <noreply@github.com> 2019-03-15 08:45:50 +0100
commitf4e52a125ad70bb5eae718477cb6be502175700a (patch)
treec65e7dd0d8687a21f1a5a10111577cdfe3828c46
parenta695f40e16e35ad5066939c3711190e88d7a31ab (diff)
parent00696e36ab66dccf02ea0a567a99be7156515976 (diff)
downloadphpipam-api-clients-f4e52a125ad70bb5eae718477cb6be502175700a.tar.gz
Merge pull request #11 from Park0/patch-1
Fixed typo connection member
-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();