aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_topic.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/includes/mcp/mcp_topic.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/includes/mcp/mcp_topic.php')
-rw-r--r--phpBB/includes/mcp/mcp_topic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index a4a8b49530..e39e553ab6 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -309,7 +309,7 @@ function mcp_topic_view($id, $mode, $action)
$base_url = append_sid("{$phpbb_root_path}mcp.$phpEx", "i=$id&amp;t={$topic_info['topic_id']}&amp;mode=$mode&amp;action=$action&amp;to_topic_id=$to_topic_id&amp;posts_per_page=$posts_per_page&amp;st=$sort_days&amp;sk=$sort_key&amp;sd=$sort_dir");
if ($posts_per_page)
{
- phpbb_generate_template_pagination($template, $base_url, 'pagination', $total, $posts_per_page, $start);
+ phpbb_generate_template_pagination($template, $base_url, 'pagination', 'start', $total, $posts_per_page, $start);
}
$template->assign_vars(array(