diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php index 1cdb87ebf0..44d067b5fc 100644 --- a/phpBB/includes/ucp/ucp_pm_viewmessage.php +++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php @@ -271,7 +271,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row) array( 'ID' => 'pm', 'NAME' => $user->lang['PRIVATE_MESSAGE'], - 'U_CONTACT' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&u=' . $author_id) + 'U_CONTACT' => $u_pm, ), array( 'ID' => 'email',