diff --git a/var/Widget/Comments/Archive.php b/var/Widget/Comments/Archive.php index 14844f70..5d84cc7d 100644 --- a/var/Widget/Comments/Archive.php +++ b/var/Widget/Comments/Archive.php @@ -282,8 +282,9 @@ class Widget_Comments_Archive extends Widget_Abstract_Comments ($this->_currentPage - 1) * $this->options->commentsPageSize, $this->options->commentsPageSize); /** 评论置位 */ - if ($this->_total !== 0) + if (0 !== count($this->stack)) { $this->row = current($this->stack); + } $this->length = count($this->stack); }