diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2009-06-26 09:56:09 +0000 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2009-06-26 09:56:09 +0000 |
| commit | 519492f71739539a0339ccd8a9c73d7c2ba48cd6 (patch) | |
| tree | 0c8539b61e623cb45f99c459c9df9e6dc9f54de4 /phpBB | |
| parent | 1c0df0dc91dcfb603cfb653e7daaf03257ac5495 (diff) | |
| download | forums-519492f71739539a0339ccd8a9c73d7c2ba48cd6.tar forums-519492f71739539a0339ccd8a9c73d7c2ba48cd6.tar.gz forums-519492f71739539a0339ccd8a9c73d7c2ba48cd6.tar.bz2 forums-519492f71739539a0339ccd8a9c73d7c2ba48cd6.tar.xz forums-519492f71739539a0339ccd8a9c73d7c2ba48cd6.zip | |
Fix bug #46975 - "Report details" link broken in MCP
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9675 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
| -rw-r--r-- | phpBB/mcp.php | 4 |
2 files changed, 4 insertions, 1 deletions
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 @@ <li>[Fix] Correctly display ACP logs options, without permission to clear logs. (Bug #24155 - Patch by leviatan21)</li> <li>[Fix] Display topic icons in MCP forum view again (only prosilver).</li> <li>[Fix] Properly display post status messages in topic when post is reported and unapproved (Bug #44455 - Patch by leviatan21)</li> + <li>[Fix] "Report details" link broken in MCP (Bug #46975 - Patch by nickvergessen)</li> <li>[Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.</li> <li>[Change] Add index on log_time to the log table to prevent slowdown on boards with many log entries. (Bug #44665 - Patch by bantu)</li> <li>[Change] Template engine now permits to a limited extent variable includes.</li> 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; } |
