summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-06 11:15:05 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-06 11:15:05 -0500
commitc79fad62f740593ed9d4a6220975b8a20db384a1 (patch)
tree52a60e6e49e99c936468f7f3bbcbd30dd9a40791 /app
parent10f4420401c746540503f380a46d5cd13e160bec (diff)
Fix bug, hide pagination links
Diffstat (limited to 'app')
-rw-r--r--app/helpers.php2
1 files changed, 1 insertions, 1 deletions
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 '';
}