page=0일때 page count 및 PageHandler를 사용하지 않도록 추가

This commit is contained in:
conory 2019-08-29 17:18:17 +09:00
parent 576c76a0be
commit 456ad2ea34

View file

@ -46,7 +46,7 @@ class Limit
$this->list_count = $list_count;
if($list_count->getValue())
{
if($page)
if($page && $page->getValue())
{
$this->start = ($page->getValue() - 1) * $list_count->getValue();
$this->page_count = $page_count;