mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Merge branch 'master' into develop
This commit is contained in:
commit
7688c8fb38
1 changed files with 1 additions and 1 deletions
|
|
@ -468,7 +468,7 @@ class DB
|
|||
$total_count = intval($count);
|
||||
$total_page = max(1, intval(ceil($total_count / $list_count)));
|
||||
$last_index = $total_count - (($page - 1) * $list_count);
|
||||
$page_handler = new \PageHandler($total_count, $total_page, $page, $page_count);
|
||||
$page_handler = new \PageHandler($total_count, $total_page, $page, $page_count ?: 10);
|
||||
|
||||
// Compose the output object.
|
||||
$output = new Helpers\DBResultHelper;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue