I think you want to start with empty array at this point. Otherwise its filled with results from all preivoius invocations of getAllSlaves.
thank you, I added your patche but it generate a warning:
Warning: array_unique() expects parameter 1 to be array
Warning: Invalid argument supplied for foreach()
You seem to have CSS turned off.
Please don't fill out this field.
As you can see that was intended for more than year old version. It worked for me at that time. I have no idea what is current situation as I stopped using PHPIPAM in meantime.
May I ask what are you using now? Been evaluating phpipam myself, and so far it looks to be closest to my needs, even though not perfect match.
Fixed in 1.2
Sign up for the SourceForge newsletter: