Discuz! Database Error

(1064) 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 dateline > 0 order by replies desc limit 0,10' at line 1
select tid,subject from forum_thread where fid= and dateline > 0 order by replies desc limit 0,10

PHP Debug

No.FileLineCode
1forum.php65runhooks()
2source/function/function_core.php1121hookscript(%s, %s, %s, Array, %s, %s)
3source/function/function_core.php1168plugin_pg_hottopic_forum->viewthread_modaction(Array)
4source/plugin/pg_hottopic/hook.class.php112plugin_pg_hottopic->getVersionHot(%s, %d, %s)
5source/plugin/pg_hottopic/hook.class.php60discuz_database::fetch_all(%s)
6source/class/discuz/discuz_database.php100discuz_database::query(%s, Array, false, false)
7source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
8source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
9source/class/db/db_driver_mysql.php224break()
www.pptflower.com ข้อความแสดงข้อผิดพลาดนี้ได้ถูกบันทึกไว้ในรายละเอียด ขออภัยในความไม่สะดวกในการเข้าถึง. Need Help?