aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-02-04 07:15:15 -0800
committerCesar G <prototech91@gmail.com>2014-02-04 07:15:15 -0800
commit32ddbf374fd77ac9c499754e06609ef9848b8c5d (patch)
tree9d3d7d582fbf98738ff50471509e46ef46caec81 /phpBB
parentf5f6b834f894eaa285b8db1e47f86de3e9d71a48 (diff)
downloadforums-32ddbf374fd77ac9c499754e06609ef9848b8c5d.tar
forums-32ddbf374fd77ac9c499754e06609ef9848b8c5d.tar.gz
forums-32ddbf374fd77ac9c499754e06609ef9848b8c5d.tar.bz2
forums-32ddbf374fd77ac9c499754e06609ef9848b8c5d.tar.xz
forums-32ddbf374fd77ac9c499754e06609ef9848b8c5d.zip
[ticket/12163] Use posts_per_page to calculate current page in viewtopic.php
PHPBB3-12163
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 227cfdd029..fab8e3b474 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1901,7 +1901,7 @@ if (!request_var('t', 0) && !empty($topic_id))
$request->overwrite('t', $topic_id);
}
-$page_title = $topic_data['topic_title'] . ($start ? ' - ' . sprintf($user->lang['PAGE_TITLE_NUMBER'], $pagination->get_on_page($config['topics_per_page'], $start)) : '');
+$page_title = $topic_data['topic_title'] . ($start ? ' - ' . sprintf($user->lang['PAGE_TITLE_NUMBER'], $pagination->get_on_page($config['posts_per_page'], $start)) : '');
/**
* You can use this event to modify the page title of the viewtopic page