mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Fix pagination blank page - #4306
This commit is contained in:
parent
8229f634e0
commit
31b19ab970
@ -2049,7 +2049,7 @@ function ui_pagination(
|
||||
$actual_page = floor($offset / $pagination);
|
||||
$ini_page = (floor($actual_page / $block_limit) * $block_limit);
|
||||
$end_page = ($ini_page + $block_limit - 1);
|
||||
if ($end_page > $number_of_pages) {
|
||||
if ($end_page >= $number_of_pages) {
|
||||
$end_page = ($number_of_pages - 1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user