mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15722] Allow forum topicrow pagination to use topicrow values
Changes topicrow pagination to use values from topicrow This allows pagination to reflect values from core.viewforum_modify_row PHPBB3-15722
This commit is contained in:
parent
d7ccd22383
commit
0ae8710132
1 changed files with 1 additions and 1 deletions
|
@ -1027,7 +1027,7 @@ if (count($topic_list))
|
|||
|
||||
$template->assign_block_vars('topicrow', $topic_row);
|
||||
|
||||
$pagination->generate_template_pagination($view_topic_url, 'topicrow.pagination', 'start', $replies + 1, $config['posts_per_page'], 1, true, true);
|
||||
$pagination->generate_template_pagination($topic_row['U_VIEW_TOPIC'], 'topicrow.pagination', 'start', $topic_row['REPLIES'] + 1, $config['posts_per_page'], 1, true, true);
|
||||
|
||||
$s_type_switch = ($row['topic_type'] == POST_ANNOUNCE || $row['topic_type'] == POST_GLOBAL) ? 1 : 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue