Fix bug, hide pagination links
This commit is contained in:
parent
10f4420401
commit
c79fad62f7
|
|
@ -618,7 +618,7 @@ function paginate(array $pagination)
|
|||
{
|
||||
extract($pagination);
|
||||
|
||||
if ($pagination['offset'] === 0 && ($total - $pagination['offset']) < $limit) {
|
||||
if ($pagination['offset'] === 0 && ($total - $pagination['offset']) <= $limit) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue