Skip to content

Commit 990f06b

Browse files
authored
Merge pull request phpipam#4 from ajwm/master
fix error where api identifiers were lingering between calls
2 parents 712f4f1 + 53bfaa2 commit 990f06b

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)