Ah, here's your problem. THe script runs through the first few posts. It doesn't find the scrap book. THen on the forth post it does!
now $ThisScrap is defined. The next post. It Doesn't find the scrap book. BUT $ThisScrap still has the same data. So you'll either want an } else { or before the if statement put
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.