mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
[ticket/15609] MCP Queue and Report forum and topic identifiers
PHPBB3-15609
This commit is contained in:
@@ -370,8 +370,9 @@ class mcp_queue
|
||||
$topic_id = $request->variable('t', 0);
|
||||
$forum_info = array();
|
||||
|
||||
/* @var $pagination \phpbb\pagination */
|
||||
$pagination = $phpbb_container->get('pagination');
|
||||
// If 'sort' is set, "Go" was pressed which is located behind the forums <select> box
|
||||
// Then, unset the topic id so it does not override the forum id
|
||||
$topic_id = $request->is_set_post('sort') ? 0 : $topic_id;
|
||||
|
||||
if ($topic_id)
|
||||
{
|
||||
@@ -651,6 +652,9 @@ class mcp_queue
|
||||
}
|
||||
unset($rowset, $forum_names);
|
||||
|
||||
/* @var \phpbb\pagination $pagination */
|
||||
$pagination = $phpbb_container->get('pagination');
|
||||
|
||||
$base_url = $this->u_action . "&f=$forum_id&st=$sort_days&sk=$sort_key&sd=$sort_dir";
|
||||
$pagination->generate_template_pagination($base_url, 'pagination', 'start', $total, $config['topics_per_page'], $start);
|
||||
|
||||
|
Reference in New Issue
Block a user