diff options
author | Miha Petkovsek <miha.petkovsek@gmail.com> | 2016-08-16 17:11:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 17:11:34 +0200 |
commit | 712f4f17a38e82f04b6d399ab92024fe7987aebe (patch) | |
tree | 5bdcc0b4a25a6f5201e305105d2b5a33a5017f57 /php-client | |
parent | f4251e35211288fb9fc03aff725a334204448008 (diff) | |
parent | 858cc2bfce78bb3ef6f53afbbff20494f3434b68 (diff) | |
download | phpipam-api-clients-712f4f17a38e82f04b6d399ab92024fe7987aebe.tar.gz |
Merge pull request #3 from ajwm/master
fix id counter in phpipam_api_client class
Diffstat (limited to 'php-client')
-rw-r--r-- | php-client/class.phpipam-api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-client/class.phpipam-api.php b/php-client/class.phpipam-api.php index 79f0e64..2855e28 100644 --- a/php-client/class.phpipam-api.php +++ b/php-client/class.phpipam-api.php @@ -547,7 +547,7 @@ class phpipam_api_client { $this->api_server_identifiers = array(); foreach ($identifiers as $cnt=>$i) { if($cnt==0) { $this->api_server_identifiers['id'] = $i; } - else { $this->api_server_identifiers['id'.$i] = $i; } + else { $this->api_server_identifiers['id'.($cnt+1)] = $i; } } } |