aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-11 12:55:48 -0700
committerfriendica <info@friendica.com>2013-10-11 12:55:48 -0700
commit899ebe9cbc99b143a485e10e8c246bd6411eefc3 (patch)
tree8130a7688c0889fb18634f0b158784c00b99983c /include/text.php
parent033b1ed430962195cdb329b5bc532f31bf8c4af5 (diff)
parente6c93e4146f79cb251f32b06d4a29e7af9c269ac (diff)
downloadvolse-hubzilla-899ebe9cbc99b143a485e10e8c246bd6411eefc3.tar.gz
volse-hubzilla-899ebe9cbc99b143a485e10e8c246bd6411eefc3.tar.bz2
volse-hubzilla-899ebe9cbc99b143a485e10e8c246bd6411eefc3.zip
Merge pull request #174 from zzottel/master
fix alt_pager to work if item count is higher than page['itemspage'] (th...
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,