mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Merge pull request #2263 from dewekk/fix-page-handler
PageHandler Iterator 사용 시 페이지가 잘못 표시되는 문제 수정
This commit is contained in:
commit
b591f023ef
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ class PageHandler extends Handler implements Iterator
|
|||
public function valid(): bool
|
||||
{
|
||||
$page = $this->first_page + $this->point;
|
||||
return $this->point <= $this->page_count && $page <= $this->last_page;
|
||||
return $this->point < $this->page_count && $page <= $this->last_page;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue