From e6c93e4146f79cb251f32b06d4a29e7af9c269ac Mon Sep 17 00:00:00 2001 From: zottel Date: Fri, 11 Oct 2013 10:50:06 +0200 Subject: fix alt_pager to work if item count is higher than page['itemspage'] (threads) --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/text.php') 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, -- cgit v1.2.3