Is the problem gone if you switch it off (by putting a /* before and a */ after the hack)? I cannot see where this little 3 line hack could be the course of your problem.
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.