在api/javascript.php里查找
- $query = $db->query("SELECT attach.*,t.tid,t.fid,t.digest,t.author,t.dateline,t.subject,t.displayorder
- FROM `{$tablepre}attachments` attach
- LEFT JOIN `{$tablepre}threads` t
- ON `t`.`tid`=`attach`.`tid`
- WHERE `attach`.`readperm`='0'
- AND `displayorder`>='0'
复制代码
改成
- $query = $db->query("SELECT attach.*,t.tid,t.fid,t.digest,t.author,t.dateline,t.subject,t.displayorder
- FROM `{$tablepre}attachments` attach
- LEFT JOIN `{$tablepre}threads` t
- ON `t`.`tid`=`attach`.`tid`
- WHERE `attach`.`readperm`='0'
- AND `t`.`displayorder`>='0'
复制代码
[ 本帖最后由 highnfar 于 2005-12-24 15:06 编辑 ] |