Changeset 9e8a175 in github for program/include/rcube_message.php
- Timestamp:
- Dec 8, 2008 2:42:31 PM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 832a7da
- Parents:
- b754889
- File:
-
- 1 edited
-
program/include/rcube_message.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_message.php
rffbf910 r9e8a175 351 351 $this->parts[] = $mail_part; 352 352 } 353 353 354 354 // list as attachment as well 355 355 if (!empty($mail_part->filename)) … … 374 374 if ($message_ctype_secondary == 'appledouble' && $secondary_type == 'applefile') 375 375 continue; 376 377 // part belongs to a related message 378 if ($message_ctype_secondary == 'related') { 379 if ($mail_part->headers['content-id']) 380 $mail_part->content_id = preg_replace(array('/^</', '/>$/'), '', $mail_part->headers['content-id']); 381 if ($mail_part->headers['content-location']) 382 $mail_part->content_location = $mail_part->headers['content-base'] . $mail_part->headers['content-location']; 376 383 377 if ($message_ctype_secondary == 'related' && $mail_part->headers['content-id']) 378 $mail_part->content_id = preg_replace(array('/^</', '/>$/'), '', $mail_part->headers['content-id']); 379 if ($message_ctype_secondary == 'related' && $mail_part->headers['content-location']) 380 $mail_part->content_location = $mail_part->headers['content-base'] . $mail_part->headers['content-location']; 381 382 // part belongs to a related message 383 if ($mail_part->content_id || $mail_part->content_location) { 384 $this->inline_parts[] = $mail_part; 385 } 384 if ($mail_part->content_id || $mail_part->content_location) { 385 $this->inline_parts[] = $mail_part; 386 } 387 } 386 388 // is regular attachment 387 389 else {
Note: See TracChangeset
for help on using the changeset viewer.
