From 9f71d7698a950b00adee3c66268c29abe0240bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=B7=E7=9B=9BDiscuz!?= Date: Sat, 21 Oct 2017 13:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=8A=A0=E5=BC=BA?= =?UTF-8?q?=E5=AE=89=E5=85=A8?= 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 dae15fe..7a28a3a 100644 --- a/upload/source/module/forum/forum_viewthread.php +++ b/upload/source/module/forum/forum_viewthread.php @@ -875,7 +875,7 @@ if($_G['forum_cachepid']) { foreach(C::t('forum_postcache')->fetch_all($_G['forum_cachepid']) as $postcache) { if($postcache['rate']) { $postcache['rate'] = dunserialize($postcache['rate']); - $postlist[$postcache['pid']]['ratelog'] = $postcache['rate']['ratelogs']; + $postlist[$postcache['pid']]['ratelog'] = dhtmlspecialchars($postcache['rate']['ratelogs']); $postlist[$postcache['pid']]['ratelogextcredits'] = $postcache['rate']['extcredits']; $postlist[$postcache['pid']]['totalrate'] = $postcache['rate']['totalrate']; }