Pārlūkot izejas kodu

取消作者评论展示

wqg 3 nedēļas atpakaļ
vecāks
revīzija
a7441fced3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      var/Widget/Comments/Recent.php

+ 1 - 1
var/Widget/Comments/Recent.php

@@ -27,7 +27,7 @@ class Recent extends Comments
     protected function initParameter(Config $parameter)
     {
         $parameter->setDefault(
-            ['pageSize' => $this->options->commentsListSize, 'parentId' => 0, 'ignoreAuthor' => false]
+            ['pageSize' => $this->options->commentsListSize, 'parentId' => 0, 'ignoreAuthor' => true]
         );
     }