Skip to content

Commit 53bfaa2

Browse files
author
alastair.mayer
committed
fix error where api identifiers were lingering between calls
1 parent 858cc2b commit 53bfaa2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php-client/class.phpipam-api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ public function set_api_controller ($controller = false) {
538538
* @return void
539539
*/
540540
public function set_api_identifiers ($identifiers) {
541+
$this->api_server_identifiers = false; // clear this to forget any previous settings
541542
if(is_array($identifiers)) {
542543
if(sizeof($identifiers)>0 && !$this->api_encrypt) {
543544
// reset

0 commit comments

Comments
 (0)