Well... I think I know why it happens. The IIP is set to force public, so the pal removes all forums from the list that aren't accessible by all, which leaves no boards left to search in.
Should probably add a check that there are any forums left before doing the query so that it won't just break.
But I don't think it would be a good idea to ignore the force public option...
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.