aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2013-10-11 10:50:06 +0200
committerzottel <github@zottel.net>2013-10-11 10:50:06 +0200
commite6c93e4146f79cb251f32b06d4a29e7af9c269ac (patch)
treeb9e810c964d96ea9f9e031b29dc3f31ff6aa9c94 /include/text.php
parent89fc319c900873be58fa677707518646f6c79eec (diff)
downloadvolse-hubzilla-e6c93e4146f79cb251f32b06d4a29e7af9c269ac.tar.gz
volse-hubzilla-e6c93e4146f79cb251f32b06d4a29e7af9c269ac.tar.bz2
volse-hubzilla-e6c93e4146f79cb251f32b06d4a29e7af9c269ac.zip
fix alt_pager to work if item count is higher than page['itemspage'] (threads)
Diffstat (limited to 'include/text.php')
-rwxr-xr-xinclude/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 8f700458c..a3f2a651c 100755
--- a/include/text.php
+++ b/include/text.php
@@ -364,7 +364,7 @@ function alt_pager(&$a, $i, $more = '', $less = '') {
return replace_macros(get_markup_template('alt_pager.tpl'),array(
'$has_less' => (($a->pager['page'] > 1) ? true : false),
- '$has_more' => (($i > 0 && $i == $a->pager['itemspage']) ? true : false),
+ '$has_more' => (($i > 0 && $i >= $a->pager['itemspage']) ? true : false),
'$less' => $less,
'$more' => $more,
'$url' => $url,