aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorDrae <paul@starstreak.net>2012-07-12 02:36:00 +0100
committerDrae <paul@starstreak.net>2012-07-18 14:32:42 +0100
commit584d49459d22ebf47239fc97ad8358a5404dacf4 (patch)
treec4c4933cce8b90665beed1848e8460425a67c9b7 /phpBB/viewtopic.php
parent27d8aef528460e87efc90bc4fffc82c0d1fa87d9 (diff)
downloadforums-584d49459d22ebf47239fc97ad8358a5404dacf4.tar
forums-584d49459d22ebf47239fc97ad8358a5404dacf4.tar.gz
forums-584d49459d22ebf47239fc97ad8358a5404dacf4.tar.bz2
forums-584d49459d22ebf47239fc97ad8358a5404dacf4.tar.xz
forums-584d49459d22ebf47239fc97ad8358a5404dacf4.zip
[feature/pagination-as-list] New parameter for name of start var
Add a new parameter to hold the name of the start variable. This fulfills ticket PHPBB3-8535. PHPBB3-10968
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 51c92df1af..c0dbc12fca 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -584,7 +584,7 @@ if (!empty($_EXTRA_URL))
// If we've got a hightlight set pass it on to pagination.
$base_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id" . ((strlen($u_sort_param)) ? "&amp;$u_sort_param" : '') . (($highlight_match) ? "&amp;hilit=$highlight" : ''));
-phpbb_generate_template_pagination($template, $base_url, 'pagination', $total_posts, $config['posts_per_page'], $start);
+phpbb_generate_template_pagination($template, $base_url, 'pagination', 'start', $total_posts, $config['posts_per_page'], $start);
// Send vars to template
$template->assign_vars(array(