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/mcp.php | |
| 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/mcp.php')
| -rw-r--r-- | phpBB/mcp.php | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |
