From 78145ef57ba4758cc0beed2fa02a754c01826d9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=91=A8=E9=83=A8=E8=90=BD?= Date: Fri, 31 Dec 2021 22:59:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=B8=96=E5=AD=90=E6=97=B6=E7=9A=84=E7=9C=8B=E5=B8=96=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E7=BC=BA=E5=B0=91=20page=20=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=9A=84=20Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/module/forum/forum_viewthread.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/source/module/forum/forum_viewthread.php b/upload/source/module/forum/forum_viewthread.php index 6b649d94c..c5a7480d1 100644 --- a/upload/source/module/forum/forum_viewthread.php +++ b/upload/source/module/forum/forum_viewthread.php @@ -618,7 +618,7 @@ if(!empty($isdel_post)) { } if($updatedisablepos && !$rushreply) { C::t('forum_threaddisablepos')->insert(array('tid' => $_G['tid']), false, true); - dheader('Location:'.$_G['siteurl'].'forum.php?mod=viewthread&tid='.$_G['tid'].($_G['forum_auditstatuson'] ? '&modthreadkey='.$_GET['modthreadkey'] : '')); + dheader('Location:'.$_G['siteurl'].'forum.php?mod=viewthread&tid='.$_G['tid'].($_G['forum_auditstatuson'] ? '&modthreadkey='.$_GET['modthreadkey'] : '').($_G['page'] > 1 ? '&page=' . $_G['page'] : '')); } $ordertype != 1 ? ksort($postarr) : krsort($postarr); } -- Gitee