mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Some more PM fixes
git-svn-id: file:///svn/phpbb/trunk@5279 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -60,7 +60,7 @@ function compose_pm($id, $mode, $action)
|
||||
// Was cancel pressed? If so then redirect to the appropriate page
|
||||
if ($cancel || ($current_time - $lastclick < 2 && $submit))
|
||||
{
|
||||
$redirect = "{$phpbb_root_path}ucp.$phpEx$SID&i=$id&mode=view&action=view_message" . (($msg_id) ? "&p=$msg_id" : '');
|
||||
$redirect = "{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=view&action=view_message" . (($msg_id) ? "&p=$msg_id" : '');
|
||||
redirect($redirect);
|
||||
}
|
||||
|
||||
@@ -479,6 +479,7 @@ function compose_pm($id, $mode, $action)
|
||||
'msg_id' => (int) $msg_id,
|
||||
'from_user_id' => $user->data['user_id'],
|
||||
'from_user_ip' => $user->data['user_ip'],
|
||||
'from_username' => $user->data['username'],
|
||||
'reply_from_root_level' => (isset($root_level)) ? (int) $root_level : 0,
|
||||
'reply_from_msg_id' => (int) $msg_id,
|
||||
'icon_id' => (int) $icon_id,
|
||||
|
Reference in New Issue
Block a user