Discuz! info: MySQL Query Error

Time: 2009-1-9 12:53am
Script: /bbs/forumdisplay.php

SQL: select * from link_adssite where fid= and display<>0
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 display<>0' at line 1
Errno.: 1064

Similar error report has beed dispatched to administrator before.