Fix bug, hide pagination links

This commit is contained in:
Frédéric Guillot 2014-12-06 11:15:05 -05:00
parent 10f4420401
commit c79fad62f7
1 changed files with 1 additions and 1 deletions

View File

@ -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 '';
}