mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
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
This commit is contained in:
parent
7eaa0bf9f6
commit
b1b542f69b
1 changed files with 2 additions and 0 deletions
|
@ -345,6 +345,8 @@ function compose_pm($id, $mode, $action)
|
||||||
// "{$phpbb_root_path}ucp.$phpEx?i=pm&mode=compose"
|
// "{$phpbb_root_path}ucp.$phpEx?i=pm&mode=compose"
|
||||||
confirm_box(false, 'DELETE_MESSAGE', build_hidden_fields($s_hidden_fields));
|
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
|
// Handle User/Group adding/removing
|
||||||
|
|
Loading…
Add table
Reference in a new issue