From 14ec6ab0ed80b1e8dc6bad4c6db6c7b70df31185 Mon Sep 17 00:00:00 2001 From: Hmily_LCG <68857640@qq.com> Date: Thu, 16 Nov 2017 11:43:55 +0800 Subject: [PATCH] =?UTF-8?q?!133=20=E4=BF=AE=E5=A4=8D=E5=89=8D=E5=8F=B0?= =?UTF-8?q?=E5=B8=96=E5=AD=90=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E5=BD=93=E5=B8=96=E5=AD=90=E6=9C=89=E5=88=86=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99=EF=BC=8C=E6=90=9C=E7=B4=A2=E5=B8=96=E5=AD=90?= =?UTF-8?q?=E5=88=86=E8=A1=A8=E5=9B=9E=E5=A4=8D=E5=88=87=E6=8D=A2=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=97=A0=E6=95=88=EF=BC=8C=E4=B8=A2=E5=A4=B1=E4=BA=86?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=88=86=E8=A1=A8=E7=9A=84=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E3=80=82=20Merge=20pull=20request=20!133=20from=20Hmily=5FLCG/?= =?UTF-8?q?master?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/include/modcp/modcp_thread.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/upload/source/include/modcp/modcp_thread.php b/upload/source/include/modcp/modcp_thread.php index 5e30565..030fe63 100644 --- a/upload/source/include/modcp/modcp_thread.php +++ b/upload/source/include/modcp/modcp_thread.php @@ -105,7 +105,7 @@ if($op == 'thread') { $total = C::t('forum_thread')->count_by_fid_typeid_displayorder($_G['fid'], $_GET['typeid'], 0, '>='); $tpage = ceil($total / $_G['tpp']); $page = min($tpage, $page); - $multipage = multi($total, $_G['tpp'], $page, "$cpscript?mod=modcp&action=$_GET[action]&op=$op&fid=$_G[fid]&do=$do"); + $multipage = multi($total, $_G['tpp'], $page, "$cpscript?mod=modcp&action=$_GET[action]&op=$op&fid=$_G[fid]&do=$do&posttableid=$posttableid"); if($total) { $start = ($page - 1) * $_G['tpp']; $threads = C::t('forum_thread')->fetch_all_by_fid_typeid_displayorder($_G['fid'], $_GET['typeid'], 0, '>=', $start, $_G['tpp']); @@ -120,7 +120,7 @@ if($op == 'thread') { $total = $result['count']; $tpage = ceil($total / $_G['tpp']); $page = min($tpage, $page); - $multipage = multi($total, $_G['tpp'], $page, "$cpscript?mod=modcp&action=$_GET[action]&op=$op&fid=$_G[fid]&do=$do"); + $multipage = multi($total, $_G['tpp'], $page, "$cpscript?mod=modcp&action=$_GET[action]&op=$op&fid=$_G[fid]&do=$do&posttableid=$posttableid"); if($total) { $start = ($page - 1) * $_G['tpp']; $threads = C::t('forum_thread')->fetch_all_by_tid_fid_displayorder(explode(',', $result['tids']), null, null, 'lastpost', $start, $_G['tpp']); @@ -341,7 +341,7 @@ if($op == 'post') { $total = $result['count']; $tpage = ceil($total / $_G['tpp']); $page = min($tpage, $page); - $multipage = multi($total, $_G['tpp'], $page, "$cpscript?mod=modcp&action=$_GET[action]&op=$op&fid=$_G[fid]&do=$do"); + $multipage = multi($total, $_G['tpp'], $page, "$cpscript?mod=modcp&action=$_GET[action]&op=$op&fid=$_G[fid]&do=$do&posttableid=$posttableid"); if($total && $result['pids']) { $start = ($page - 1) * $_G['tpp']; $tids = array();