diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-16 08:49:28 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-16 08:49:28 +0000 |
| commit | 616bdc036894401319b29a020fdb69bee4788064 (patch) | |
| tree | 84c964e037f3e1e35642de4e010f172a88db1fc8 /roundcubemail/program/steps | |
| parent | 36bc3d73d08829407e8f5f48e555fd3569c4de0c (diff) | |
- Reduced memory footprint when forwarding attachments (#1485345)
- Fixed endless loop in iil_C_HandlePartBody()
- rcube_message::get_part_content() speed up using 3rd argument of rcube_imap::get_message_part()
git-svn-id: https://svn.roundcube.net/trunk@1800 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/compose.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index e45662de5..b25a7dee6 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -596,7 +596,7 @@ function rcmail_write_compose_attachments(&$message, $bodyIsHtml) $tmp_path = tempnam($temp_dir, 'rcmAttmnt'); if ($fp = fopen($tmp_path, 'w')) { - fwrite($fp, $message->get_part_content($pid)); + $message->get_part_content($pid, $fp); fclose($fp); $_SESSION['compose']['attachments'][] = array( |
