aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar alastair.mayer <alastair.mayer@dish.com> 2016-08-24 15:25:21 -0600
committerGravatar alastair.mayer <alastair.mayer@dish.com> 2016-08-24 15:25:21 -0600
commit53bfaa206ad60abb170174e94c983091c0a4ffeb (patch)
treec6f3ec012e4a466064c10fd1f9b8590b5aa720d0
parent858cc2bfce78bb3ef6f53afbbff20494f3434b68 (diff)
downloadphpipam-api-clients-53bfaa206ad60abb170174e94c983091c0a4ffeb.tar.gz
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