aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-06-09 19:37:47 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-06-09 19:37:47 +0000
commit0cf31f0e2a3ad652b924ac4efbf5d7433c831397 (patch)
tree041ebe56fb754ff6ab5ee5b5682e228b7b5848aa /phpBB/viewforum.php
parent898decd6cc4876269d14071431898fd8f547556e (diff)
downloadforums-0cf31f0e2a3ad652b924ac4efbf5d7433c831397.tar
forums-0cf31f0e2a3ad652b924ac4efbf5d7433c831397.tar.gz
forums-0cf31f0e2a3ad652b924ac4efbf5d7433c831397.tar.bz2
forums-0cf31f0e2a3ad652b924ac4efbf5d7433c831397.tar.xz
forums-0cf31f0e2a3ad652b924ac4efbf5d7433c831397.zip
Fix the ability to report/view reports and warn in global announcements
git-svn-id: file:///svn/phpbb/trunk@6030 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index a45f458db4..b2d3a35ba9 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -518,7 +518,7 @@ if (sizeof($topic_list))
'U_LAST_POST' => $view_topic_url . '&amp;p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'],
'U_LAST_POST_AUTHOR' => ($row['topic_last_poster_id'] != ANONYMOUS && $row['topic_last_poster_id']) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&amp;u=' . $row['topic_last_poster_id']) : '',
'U_VIEW_TOPIC' => $view_topic_url,
- 'U_MCP_REPORT' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&amp;mode=reports&amp;t=' . $topic_id, true, $user->session_id),
+ 'U_MCP_REPORT' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&amp;mode=reports&amp;f=' . $forum_id . '&amp;t=' . $topic_id, true, $user->session_id),
'U_MCP_QUEUE' => $u_mcp_queue,
'S_TOPIC_TYPE_SWITCH' => ($s_type_switch == $s_type_switch_test) ? -1 : $s_type_switch_test)