summaryrefslogtreecommitdiffstats
path: root/includes/comments.php
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-07-11 08:36:13 +0800
committerBigCoke233 <hi@guhub.cn>2020-07-11 08:36:13 +0800
commitb0d993e2a2244cc392c89bd9d4971151dab6e9b4 (patch)
tree2c3690ba00e62096fb46c385ec17d30adc3f75d5 /includes/comments.php
parented54b109c4d95bf3f8f3f481ee884e835018efa6 (diff)
:bug: Fix: 修复评论区无法使用
Diffstat (limited to 'includes/comments.php')
-rw-r--r--includes/comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/comments.php b/includes/comments.php
index b414021..78b6357 100644
--- a/includes/comments.php
+++ b/includes/comments.php
@@ -109,4 +109,4 @@ echo $commentClass;
</div>
</div>
<?php //兼容 typecho 反垃圾
- if ($this->options->commentsAntiSpam) { Comments::AntiSpam($this); } ?> \ No newline at end of file
+ if ($this->options->commentsAntiSpam) { Comments::AntiSpam($this->respondId, Typecho_Common::shuffleScriptVar($this->security->getToken(preg_replace('/\??&?_pjax=[^&]+/i','',$this->request->getRequestUrl())))); } ?> \ No newline at end of file