diff options
author | Cesar G <prototech91@gmail.com> | 2014-02-04 07:15:15 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-02-04 07:15:15 -0800 |
commit | 32ddbf374fd77ac9c499754e06609ef9848b8c5d (patch) | |
tree | 9d3d7d582fbf98738ff50471509e46ef46caec81 /phpBB | |
parent | f5f6b834f894eaa285b8db1e47f86de3e9d71a48 (diff) | |
download | forums-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.php | 2 |
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 |