From bb106254c2fdfb6a2814134163744667accc37dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=91=A8=E9=83=A8=E8=90=BD?= Date: Thu, 16 Jan 2020 21:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=9C=A8=E8=8D=89?= =?UTF-8?q?=E7=A8=BF=E7=AE=B1=E5=86=85=E7=9A=84=E5=B8=96=E5=AD=90=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D=E4=BB=8D=E5=8A=A0=E7=A7=AF=E5=88=86=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/include/post/post_newreply.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/source/include/post/post_newreply.php b/upload/source/include/post/post_newreply.php index ba968c5c3..69e8d35bf 100644 --- a/upload/source/include/post/post_newreply.php +++ b/upload/source/include/post/post_newreply.php @@ -96,7 +96,7 @@ if($_G['setting']['commentnumber'] && !empty($_GET['comment'])) { $comments = $thread['comments'] ? $thread['comments'] + 1 : C::t('forum_postcomment')->count_by_tid($_G['tid']); C::t('forum_thread')->update($_G['tid'], array('comments' => $comments)); - !empty($_G['uid']) && updatepostcredits('+', $_G['uid'], 'reply', $_G['fid']); + !empty($_G['uid']) && $thread['displayorder'] != -4 && updatepostcredits('+', $_G['uid'], 'reply', $_G['fid']); if(!empty($_G['uid']) && $_G['uid'] != $post['authorid']) { notification_add($post['authorid'], 'pcomment', 'comment_add', array( 'tid' => $_G['tid'], -- Gitee