aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miha Petkovsek <miha.petkovsek@gmail.com> 2016-08-25 07:54:38 +0200
committerGravatar GitHub <noreply@github.com> 2016-08-25 07:54:38 +0200
commit990f06b6fe699340df8b1bf8bf835a0fb949a507 (patch)
treec6f3ec012e4a466064c10fd1f9b8590b5aa720d0
parent712f4f17a38e82f04b6d399ab92024fe7987aebe (diff)
parent53bfaa206ad60abb170174e94c983091c0a4ffeb (diff)
downloadphpipam-api-clients-990f06b6fe699340df8b1bf8bf835a0fb949a507.tar.gz
Merge pull request #4 from ajwm/master
fix error where api identifiers were lingering between calls
-rw-r--r--php-client/class.phpipam-api.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/php-client/class.phpipam-api.php b/php-client/class.phpipam-api.php
index 2855e28..f1dd2fa 100644
--- a/php-client/class.phpipam-api.php
+++ b/php-client/class.phpipam-api.php
@@ -538,6 +538,7 @@ class phpipam_api_client {
* @return void
*/
public function set_api_identifiers ($identifiers) {
+ $this->api_server_identifiers = false; // clear this to forget any previous settings
if(is_array($identifiers)) {
if(sizeof($identifiers)>0 && !$this->api_encrypt) {
// reset