diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-07-23 12:03:41 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-07-23 12:03:41 +0000 |
commit | 4373e62a564eda16d48ccdb7c0521c89514b0f25 (patch) | |
tree | ae55de8848fa6c2bff6bb97659dc6023eaee3d07 /phpBB/includes/mcp/mcp_topic.php | |
parent | 4299475256f7d5b84f3ee9a474bb1c1b714c0bd6 (diff) | |
download | forums-4373e62a564eda16d48ccdb7c0521c89514b0f25.tar forums-4373e62a564eda16d48ccdb7c0521c89514b0f25.tar.gz forums-4373e62a564eda16d48ccdb7c0521c89514b0f25.tar.bz2 forums-4373e62a564eda16d48ccdb7c0521c89514b0f25.tar.xz forums-4373e62a564eda16d48ccdb7c0521c89514b0f25.zip |
#13731
git-svn-id: file:///svn/phpbb/trunk@7928 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_topic.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_topic.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php index 1440c4dd6b..aefea01e4b 100644 --- a/phpBB/includes/mcp/mcp_topic.php +++ b/phpBB/includes/mcp/mcp_topic.php @@ -34,6 +34,7 @@ function mcp_topic_view($id, $mode, $action) $icon_id = request_var('icon', 0); $subject = utf8_normalize_nfc(request_var('subject', '', true)); $start = request_var('start', 0); + $forum_id = request_var('f', 0); $to_topic_id = request_var('to_topic_id', 0); $to_forum_id = request_var('to_forum_id', 0); $post_id_list = request_var('post_id_list', array(0)); @@ -215,7 +216,7 @@ function mcp_topic_view($id, $mode, $action) 'S_CHECKED' => ($post_id_list && in_array(intval($row['post_id']), $post_id_list)) ? true : false, 'S_HAS_ATTACHMENTS' => (!empty($attachments[$row['post_id']])) ? true : false, - 'U_POST_DETAILS' => "$url&i=$id&p={$row['post_id']}&mode=post_details", + 'U_POST_DETAILS' => "$url&i=$id&p={$row['post_id']}&mode=post_details" . (($forum_id) ? "&f=$forum_id" : ''), 'U_MCP_APPROVE' => ($auth->acl_get('m_approve', $topic_info['forum_id'])) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=queue&mode=approve_details&f=' . $topic_info['forum_id'] . '&p=' . $row['post_id']) : '', 'U_MCP_REPORT' => ($auth->acl_get('m_report', $topic_info['forum_id'])) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=reports&mode=report_details&f=' . $topic_info['forum_id'] . '&p=' . $row['post_id']) : '') ); |