Skip to content

Commit 00696e3

Browse files
authored
When there is no connection create one
When there is no connection create one
1 parent d12e058 commit 00696e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php-client/class.phpipam-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)