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.php2
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; }
}
}