修正错误的数据堆栈
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user