Skip to content

Commit f4e52a1

Browse files
authored
Merge pull request #11 from Park0/patch-1
Fixed typo connection member
2 parents a695f40 + 00696e3 commit f4e52a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php-client/class.phpipam-api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class phpipam_api_client {
7777
* @var bool
7878
* @access private
7979
*/
80-
private $Connecton = false;
80+
private $Connection = false;
8181

8282
/**
8383
* Access token for phpipam
@@ -643,7 +643,7 @@ public function execute ($method = false, $controller = false, $identifiers = ar
643643
*/
644644
private function curl_set_connection ($token_file) {
645645
// check if it exists
646-
if ($this->Connection!==false) {
646+
if ($this->Connection===false) {
647647
// Get cURL resource
648648
$this->Connection = curl_init();
649649

0 commit comments

Comments
 (0)