From a14ec2500006196ae5048d06b3fa1fb0a0df56c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A4=E7=8B=AC=E7=9A=84=E5=91=B3=E9=81=93=EF=BA=AD?= <1182630+gududeweidao@user.noreply.gitee.com> Date: Fri, 20 Dec 2019 13:16:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E5=AE=A2=E6=97=A0=E6=B3=95=E7=9C=8B?= =?UTF-8?q?=E8=A7=81=20description=20=E8=BF=99=E4=B8=AA=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=9A=84=E4=B8=8D=E5=85=A8=20https://gitee.com/ComsenzDiscuz/D?= =?UTF-8?q?iscuzX/commit/c3b8ba7287f19b3d5d8133324b31583fcdf8c5b6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 https://gitee.com/ComsenzDiscuz/DiscuzX/issues/I16G45 参考 https://www.guhei.net/post/jb2456 --- 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 00ca992e2..3c23144bf 100644 --- a/upload/source/module/forum/forum_viewthread.php +++ b/upload/source/module/forum/forum_viewthread.php @@ -669,7 +669,7 @@ foreach($postarr as $post) { continue; } $_G['forum_firstpid'] = $post['pid']; - if(!$_G['forum_thread']['price'] && (IS_ROBOT || $_G['adminid'] == 1)) $summary = str_replace(array("\r", "\n"), '', messagecutstr(strip_tags($post['message']), 160)); + if(!$_G['forum_thread']['price']) $summary = str_replace(array("\r", "\n"), '', messagecutstr(strip_tags($post['message']), 160)); $tagarray_all = $posttag_array = array(); $tagarray_all = explode("\t", $post['tags']); if($tagarray_all) { -- Gitee