1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-18 23:14:41 +01:00
git-svn-id: file:///svn/phpbb/trunk@7227 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-03-24 16:08:20 +00:00
parent 3fc6fccdeb
commit cbbc6cabcb

View File

@ -347,7 +347,7 @@ function compose_pm($id, $mode, $action)
// Further down (especially in submit_post()) we do not check this again.
$message_parser->get_submitted_attachment_data();
if ($message_attachment && !$submit && !$refresh && !$preview && $action == 'edit')
if ($message_attachment && !$submit && !$refresh && !$ && $action == 'edit')
{
// Do not change to SELECT *
$sql = 'SELECT attach_id, is_orphan, attach_comment, real_filename
@ -633,6 +633,8 @@ function compose_pm($id, $mode, $action)
if (!sizeof($error))
{
$user->add_lang('viewtopic');
$template->assign_vars(array(
'PREVIEW_SUBJECT' => $preview_subject,
'PREVIEW_MESSAGE' => $preview_message,