diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-06 11:15:05 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-06 11:15:05 -0500 |
commit | c79fad62f740593ed9d4a6220975b8a20db384a1 (patch) | |
tree | 52a60e6e49e99c936468f7f3bbcbd30dd9a40791 | |
parent | 10f4420401c746540503f380a46d5cd13e160bec (diff) |
Fix bug, hide pagination links
-rw-r--r-- | app/helpers.php | 2 |
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 ''; } |