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

View File

@@ -618,7 +618,7 @@ function paginate(array $pagination)
{ {
extract($pagination); extract($pagination);
if ($pagination['offset'] === 0 && ($total - $pagination['offset']) < $limit) { if ($pagination['offset'] === 0 && ($total - $pagination['offset']) <= $limit) {
return ''; return '';
} }