diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-06-29 16:36:44 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-06-29 16:36:44 +0000 |
commit | b1b542f69b3fd2f5fad3f2b757bc9a1593628c8d (patch) | |
tree | c4efea3fa11aba90d9d8d376d010044dc1dc5d63 | |
parent | 7eaa0bf9f6e93b1c4543a5e18e272676c5ef0ef4 (diff) | |
download | forums-b1b542f69b3fd2f5fad3f2b757bc9a1593628c8d.tar forums-b1b542f69b3fd2f5fad3f2b757bc9a1593628c8d.tar.gz forums-b1b542f69b3fd2f5fad3f2b757bc9a1593628c8d.tar.bz2 forums-b1b542f69b3fd2f5fad3f2b757bc9a1593628c8d.tar.xz forums-b1b542f69b3fd2f5fad3f2b757bc9a1593628c8d.zip |
make sure that after a cancel the redirect will work even if the cancel hit above failed (for whatever reason).
git-svn-id: file:///svn/phpbb/trunk@7812 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index 105dda1d8c..e296ad12b1 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -345,6 +345,8 @@ function compose_pm($id, $mode, $action) // "{$phpbb_root_path}ucp.$phpEx?i=pm&mode=compose" confirm_box(false, 'DELETE_MESSAGE', build_hidden_fields($s_hidden_fields)); } + + redirect(append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=view&action=view_message&p=' . $msg_id)); } // Handle User/Group adding/removing |