diff --git a/upload/source/include/post/post_newreply.php b/upload/source/include/post/post_newreply.php index ba968c5c36930362c1e848eabebdafab89bc4eb1..69e8d35bf2b4fb96479415d38ca38000be2b939f 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'],