diff options
| author | Bart van Bragt <bartvb@users.sourceforge.net> | 2005-10-25 20:07:07 +0000 |
|---|---|---|
| committer | Bart van Bragt <bartvb@users.sourceforge.net> | 2005-10-25 20:07:07 +0000 |
| commit | 400f14ebb32da5424dca5ac678a3a4bec929965e (patch) | |
| tree | df605716ee410336043cc3216fd31302ed440692 /phpBB/includes/ucp/ucp_pm_compose.php | |
| parent | aee876ebf476c7591516db792c19d389df1e602b (diff) | |
| download | forums-400f14ebb32da5424dca5ac678a3a4bec929965e.tar forums-400f14ebb32da5424dca5ac678a3a4bec929965e.tar.gz forums-400f14ebb32da5424dca5ac678a3a4bec929965e.tar.bz2 forums-400f14ebb32da5424dca5ac678a3a4bec929965e.tar.xz forums-400f14ebb32da5424dca5ac678a3a4bec929965e.zip | |
Some more PM fixes
git-svn-id: file:///svn/phpbb/trunk@5279 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_compose.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index 8717ada511..bc49e0100b 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -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, |
