diff options
author | Chris Smith <toonarmy@phpbb.com> | 2010-08-08 22:54:21 +0100 |
---|---|---|
committer | Chris Smith <toonarmy@phpbb.com> | 2010-08-08 22:54:21 +0100 |
commit | b7a1add009ec36ca1143fa75ebda828d0fdead80 (patch) | |
tree | 09c0d52385533ed6464fd76e96f0e4d05c7fba0d /phpBB/includes/mcp/mcp_post.php | |
parent | 42e7c8a44099f16c8695c3870ac3f8abcbb89a21 (diff) | |
download | forums-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.php | 2 |
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&i=main&quickmod=1", // Use this for mode paramaters + 'U_MCP_ACTION' => "$url&i=main&quickmod=1&mode=post_details", // Use this for mode paramaters 'U_POST_ACTION' => "$url&i=$id&mode=post_details", // Use this for action parameters 'U_APPROVE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&p=$post_id&f={$post_info['forum_id']}"), |