Skip to content

Commit 9accc13

Browse files
committed
修复标签分页数据获取错误的bug
1 parent b9d0c8c commit 9accc13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Application/Common/Model/ArticleModel.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ public function getPageData($cid='all',$tid='all',$is_show='1',$is_delete=0,$lim
188188
->join('__ARTICLE__ a ON at.aid=a.aid')
189189
->where($where)
190190
->order('a.addtime desc')
191+
->limit($page->firstRow.','.$page->listRows)
191192
->select();
192193
$url_array=array('tid'=>$tid);
193194
}elseif ($cid!='all' && $tid=='all') {

0 commit comments

Comments
 (0)