Changeset 1551 in subversion
- Timestamp:
- Jun 16, 2008 4:06:53 AM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/mail/compose.inc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1543 r1551 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2008/06/16 (alec) 5 ---------- 6 - Fixed sending emoticons 7 - Fixed forwarding messages with one HTML attachment (#1484442) 8 - Fixed encoding of message/rfc822 attachments and image/pjpeg handling (#1484914) 3 9 4 10 2008/06/15 (alec) -
trunk/roundcubemail/program/steps/mail/compose.inc
r1493 r1551 523 523 // add attachments 524 524 if (!isset($_SESSION['compose']['forward_attachments']) && is_array($MESSAGE->mime_parts)) 525 rcmail_write_compose_attachments($MESSAGE );525 rcmail_write_compose_attachments($MESSAGE, $bodyIsHtml); 526 526 527 527 return $prefix.$body; … … 540 540 && is_array($MESSAGE->mime_parts) 541 541 && count($MESSAGE->mime_parts) > 0) 542 rcmail_write_compose_attachments($MESSAGE );542 rcmail_write_compose_attachments($MESSAGE, $bodyIsHtml); 543 543 544 544 return $body; … … 546 546 547 547 548 function rcmail_write_compose_attachments(&$message )548 function rcmail_write_compose_attachments(&$message, $bodyIsHtml) 549 549 { 550 550 global $RCMAIL, $IMAP; … … 557 557 foreach ((array)$message->mime_parts as $pid => $part) 558 558 { 559 if ( $part->ctype_primary != 'message'&&559 if (($part->ctype_primary != 'message' || !$bodyIsHtml) && 560 560 ($part->disposition=='attachment' || $part->disposition=='inline' || $part->headers['content-id'] || 561 561 (empty($part->disposition) && $part->filename)))
Note: See TracChangeset
for help on using the changeset viewer.
