The edits to FORUMDISPLAY.PHP appear to be causing the following database error:
Code:
Database error in vBulletin 3.7.2:
Invalid SQL:
SELECT thread.threadid, lastpost, open
FROM thread AS thread
WHERE forumid = 271
AND (sticky = 1
OR threadid IN ())
AND visible IN (0,1,2);
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))
AND visible IN (0,1,2)' at line 5
Error Number : 1064
Request Date : Saturday, August 30th 2008 @ 10:23:56 AM
Error Date : Saturday, August 30th 2008 @ 10:23:56 AM
Script : http://www.ligotti.net/forumdisplay.php?s=&daysprune=&f=271
Referrer :
IP Address : XXXXXXXXXXXXXXX
Username : Dr. Bantham
Classname : vB_Database
MySQL Version : 5.0.51a-community