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