aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_post.php
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2010-08-08 22:54:21 +0100
committerChris Smith <toonarmy@phpbb.com>2010-08-08 22:54:21 +0100
commitb7a1add009ec36ca1143fa75ebda828d0fdead80 (patch)
tree09c0d52385533ed6464fd76e96f0e4d05c7fba0d /phpBB/includes/mcp/mcp_post.php
parent42e7c8a44099f16c8695c3870ac3f8abcbb89a21 (diff)
downloadforums-b7a1add009ec36ca1143fa75ebda828d0fdead80.tar
forums-b7a1add009ec36ca1143fa75ebda828d0fdead80.tar.gz
forums-b7a1add009ec36ca1143fa75ebda828d0fdead80.tar.bz2
forums-b7a1add009ec36ca1143fa75ebda828d0fdead80.tar.xz
forums-b7a1add009ec36ca1143fa75ebda828d0fdead80.zip
[ticket/7332] Redirect users back to post details when performing actions.
Moderators are redirected to the index page of the MCP after locking a post, a better location would be to direct them back to the post details. PHPBB3-7332
Diffstat (limited to 'phpBB/includes/mcp/mcp_post.php')
-rw-r--r--phpBB/includes/mcp/mcp_post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_post.php b/phpBB/includes/mcp/mcp_post.php
index 1fbedbac4f..7098b4bbce 100644
--- a/phpBB/includes/mcp/mcp_post.php
+++ b/phpBB/includes/mcp/mcp_post.php
@@ -176,7 +176,7 @@ function mcp_post_details($id, $mode, $action)
}
$template->assign_vars(array(
- 'U_MCP_ACTION' => "$url&amp;i=main&amp;quickmod=1", // Use this for mode paramaters
+ 'U_MCP_ACTION' => "$url&amp;i=main&amp;quickmod=1&amp;mode=post_details", // Use this for mode paramaters
'U_POST_ACTION' => "$url&amp;i=$id&amp;mode=post_details", // Use this for action parameters
'U_APPROVE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&amp;p=$post_id&amp;f={$post_info['forum_id']}"),