From c79fad62f740593ed9d4a6220975b8a20db384a1 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 6 Dec 2014 11:15:05 -0500 Subject: Fix bug, hide pagination links --- app/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers.php b/app/helpers.php index 0129853f..01c45292 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -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 ''; } -- cgit v1.2.3