Merge branch 'ent-4306-Error-de-paginacion-en-Nodo' into 'develop'
Fix pagination blank page - #4306 See merge request artica/pandorafms!2580
This commit is contained in:
commit
18da97e9a7
|
@ -2055,7 +2055,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…
Reference in New Issue