Discuz! Database Error

(1052) Column 'displayorder' in where clause is ambiguous
SELECT T.*, CASE WHEN T.district_id > 0 THEN D.ename WHEN T.city_id > 0 THEN C.ename WHEN T.province_id > 0 THEN P.ename END city FROM forum_thread AS T LEFT JOIN common_district D ON T.district_id = D.id LEFT JOIN common_district C ON T.city_id = C.id LEFT JOIN common_district P ON T.province_id = P.id WHERE `fid`='52' AND `displayorder` IN('0','1','2','3','4') ORDER BY displayorder DESC, lastpost DESC LIMIT 20

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_forumdisplay.php656table_forum_thread->fetch_all_search(Array, %d, %d, %d, %s, %s, %s)
3source/class/table/table_forum_thread.php570discuz_database::fetch_all(%s)
4source/class/discuz/discuz_database.php103discuz_database::query(%s, Array, false, false)
5source/class/discuz/discuz_database.php139db_driver_mysqli->query(%s, false, false)
6source/class/db/db_driver_mysqli.php148db_driver_mysqli->halt(%s, %d, %s)
7source/class/db/db_driver_mysqli.php223break()
www.huatian.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.