mirror of
https://github.com/typecho/typecho.git
synced 2025-01-18 04:58:20 +01:00
add reset
This commit is contained in:
parent
03f237b32f
commit
3303b435ad
@ -283,9 +283,7 @@ class Widget_Comments_Archive extends Widget_Abstract_Comments
|
||||
|
||||
/** 评论置位 */
|
||||
$this->length = count($this->stack);
|
||||
if (0 !== $this->length) {
|
||||
$this->row = current($this->stack);
|
||||
}
|
||||
$this->row = $this->length > 0 ? current($this->stack) : array();
|
||||
}
|
||||
|
||||
reset($this->stack);
|
||||
|
Loading…
x
Reference in New Issue
Block a user