mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #2004 from prototech/ticket/12163
[ticket/12163] Use posts_per_page to calculate current page in viewtopic.php * prototech/ticket/12163: [ticket/12163] Use posts_per_page to calculate current page in viewtopic.php
This commit is contained in:
commit
0b6b7fc486
1 changed files with 1 additions and 1 deletions
|
@ -1901,7 +1901,7 @@ if (!request_var('t', 0) && !empty($topic_id))
|
||||||
$request->overwrite('t', $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
|
* You can use this event to modify the page title of the viewtopic page
|
||||||
|
|
Loading…
Add table
Reference in a new issue