1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-15 20:17:36 +02:00

[ticket/10506] Preserve attachments on not-saving PM draft

PHPBB3-10506
This commit is contained in:
mrgoldy 2020-02-05 10:54:49 +01:00
parent 7de24bad2e
commit eaa597a430

View File

@ -706,8 +706,9 @@ function compose_pm($id, $mode, $action, $user_folders = array())
'message' => $message,
'u' => $to_user_id,
'g' => $to_group_id,
'p' => $msg_id)
);
'p' => $msg_id,
'attachment_data' => $message_parser->attachment_data,
));
$s_hidden_fields .= build_address_field($address_list);
confirm_box(false, 'SAVE_DRAFT', $s_hidden_fields);