From c33f692bb10c72ebd884f53ec8edf068c462d57c Mon Sep 17 00:00:00 2001 From: Hmily_LCG <68857640@qq.com> Date: Wed, 8 Mar 2017 10:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9C=A8=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=EF=BC=8C=E9=94=81=E8=B4=B4=E5=90=8E=E7=82=B9=E5=87=BB=E9=94=81?= =?UTF-8?q?=E8=B4=B4=E6=8F=90=E7=A4=BA=EF=BC=8C=E4=BC=9A=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=B2=A1=E8=BE=93=E5=85=A5=E9=AA=8C=E8=AF=81=E7=A0=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/module/forum/forum_post.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/upload/source/module/forum/forum_post.php b/upload/source/module/forum/forum_post.php index a964219..6af65ba 100644 --- a/upload/source/module/forum/forum_post.php +++ b/upload/source/module/forum/forum_post.php @@ -16,6 +16,7 @@ cknewuser(); require_once libfile('class/credit'); require_once libfile('function/post'); +require_once libfile('function/forumlist'); $pid = intval(getgpc('pid')); @@ -109,6 +110,9 @@ if($_GET['action'] == 'edit' || $_GET['action'] == 'reply') { if($thread['closed'] == 1 && !$_G['forum']['ismoderator']) { showmessage('post_thread_closed'); } + if(!$thread['isgroup'] && $post_autoclose = checkautoclose($thread)) { + showmessage($post_autoclose, '', array('autoclose' => $_G['forum']['autoclose'])); + } } if($_G['forum']['status'] == 3) {