From 2f4f5c5ede10a347e6d6e2c49571b7775af5af5c Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 24 Jun 2004 08:06:09 +0000 Subject: [PATCH] fixed viewtopic pagination (accidently added $start in the middle rendering pagination useless) git-svn-id: file:///svn/phpbb/trunk@4918 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 77a5d43faa..ba1270f146 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -422,7 +422,7 @@ $topic_mod .= ($auth->acl_get('f_announce', $forum_id) && $topic_type != POST_GL $topic_mod .= ($auth->acl_get('m_', $forum_id)) ? '' : ''; // If we've got a hightlight set pass it on to pagination. -$pagination = generate_pagination($viewtopic_url, $total_posts, $config['posts_per_page'], $start); +$pagination = generate_pagination("{$phpbb_root_path}viewtopic.$phpEx$SID&f=$forum_id&t=$topic_id&$u_sort_param" . (($highlight_match) ? "&hilit=$highlight" : ''), $total_posts, $config['posts_per_page'], $start); // Navigation links generate_forum_nav($topic_data);