diff options
author | zottel <github@zottel.net> | 2013-10-11 10:50:06 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2013-10-11 10:50:06 +0200 |
commit | e6c93e4146f79cb251f32b06d4a29e7af9c269ac (patch) | |
tree | b9e810c964d96ea9f9e031b29dc3f31ff6aa9c94 /include | |
parent | 89fc319c900873be58fa677707518646f6c79eec (diff) | |
download | volse-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')
-rwxr-xr-x | include/text.php | 2 |
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, |