diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index fccd426867..0fd40d26db 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -134,6 +134,7 @@
[Fix] Correctly display ACP logs options, without permission to clear logs. (Bug #24155 - Patch by leviatan21)
[Fix] Display topic icons in MCP forum view again (only prosilver).
[Fix] Properly display post status messages in topic when post is reported and unapproved (Bug #44455 - Patch by leviatan21)
+ [Fix] "Report details" link broken in MCP (Bug #46975 - Patch by nickvergessen)
[Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.
[Change] Add index on log_time to the log table to prevent slowdown on boards with many log entries. (Bug #44665 - Patch by bantu)
[Change] Template engine now permits to a limited extent variable includes.
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 5f7aa3bd1f..17e2f7f115 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -77,6 +77,7 @@ if ($mode == 'topic_logs')
$post_id = request_var('p', 0);
$topic_id = request_var('t', 0);
$forum_id = request_var('f', 0);
+$report_id = request_var('r', 0);
$user_id = request_var('u', 0);
$username = utf8_normalize_nfc(request_var('username', '', true));
@@ -323,13 +324,14 @@ function _module_reports_url($mode, &$module_row)
function extra_url()
{
- global $forum_id, $topic_id, $post_id, $user_id;
+ global $forum_id, $topic_id, $post_id, $report_id, $user_id;
$url_extra = '';
$url_extra .= ($forum_id) ? "&f=$forum_id" : '';
$url_extra .= ($topic_id) ? "&t=$topic_id" : '';
$url_extra .= ($post_id) ? "&p=$post_id" : '';
$url_extra .= ($user_id) ? "&u=$user_id" : '';
+ $url_extra .= ($report_id) ? "&r=$report_id" : '';
return $url_extra;
}