diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-24 08:06:09 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-06-24 08:06:09 +0000 |
commit | 2f4f5c5ede10a347e6d6e2c49571b7775af5af5c (patch) | |
tree | 8c49977dc7e3f7239007d87bf549089d2e8628c1 | |
parent | ca1b45581b2492012aacbcb81a94ea491626c5f9 (diff) | |
download | forums-2f4f5c5ede10a347e6d6e2c49571b7775af5af5c.tar forums-2f4f5c5ede10a347e6d6e2c49571b7775af5af5c.tar.gz forums-2f4f5c5ede10a347e6d6e2c49571b7775af5af5c.tar.bz2 forums-2f4f5c5ede10a347e6d6e2c49571b7775af5af5c.tar.xz forums-2f4f5c5ede10a347e6d6e2c49571b7775af5af5c.zip |
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
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)) ? '<option value="viewlogs">' . $user->lang['VIEW_TOPIC_LOGS'] . '</option>' : ''; // 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); |