diff options
author | friendica <info@friendica.com> | 2013-10-11 12:55:48 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-11 12:55:48 -0700 |
commit | 899ebe9cbc99b143a485e10e8c246bd6411eefc3 (patch) | |
tree | 8130a7688c0889fb18634f0b158784c00b99983c | |
parent | 033b1ed430962195cdb329b5bc532f31bf8c4af5 (diff) | |
parent | e6c93e4146f79cb251f32b06d4a29e7af9c269ac (diff) | |
download | volse-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...
-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, |