diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-08-13 12:14:07 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-08-13 12:14:07 +0000 |
| commit | e9188d4e05eeadfd9246d9dc44160736f6fa64d6 (patch) | |
| tree | 7fcdcc5cd7c7e90e2ae4f8abc309fc74101b025b /phpBB/includes/ucp/ucp_pm_compose.php | |
| parent | 11f05e3513f4133cce57d4177f9616c1ef32cd34 (diff) | |
| download | forums-e9188d4e05eeadfd9246d9dc44160736f6fa64d6.tar forums-e9188d4e05eeadfd9246d9dc44160736f6fa64d6.tar.gz forums-e9188d4e05eeadfd9246d9dc44160736f6fa64d6.tar.bz2 forums-e9188d4e05eeadfd9246d9dc44160736f6fa64d6.tar.xz forums-e9188d4e05eeadfd9246d9dc44160736f6fa64d6.zip | |
Some changes... non-invasive...
git-svn-id: file:///svn/phpbb/trunk@8025 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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index e81c572ddf..4b92bf4042 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -976,6 +976,15 @@ function compose_pm($id, $mode, $action) { posting_gen_attachment_entry($attachment_data, $filename_data); } + + // Message History + if ($action == 'reply' || $action == 'quote' || $action == 'forward') + { + if (message_history($msg_id, $user->data['user_id'], $post, array(), true)) + { + $template->assign_var('S_DISPLAY_HISTORY', true); + } + } } /** |
