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:
Meik Sievertsen 2007-06-29 16:36:44 +00:00
parent 7eaa0bf9f6
commit b1b542f69b

View file

@ -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