Changeset b26e1d2 in github


Ignore:
Timestamp:
Jul 20, 2009 12:54:42 PM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
a07ab6d
Parents:
4307ccd8
Message:
  • fix related attachments without linking to message part are not listed (#1485984)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_message.php

    rb0d56e9 rb26e1d2  
    383383            continue; 
    384384 
    385           // part belongs to a related message 
    386           if ($message_ctype_secondary == 'related') { 
     385          // part belongs to a related message and is linked 
     386          if ($message_ctype_secondary == 'related' 
     387              && ($mail_part->headers['content-id'] || $mail_part->headers['content-location'])) { 
    387388            if ($mail_part->headers['content-id']) 
    388389              $mail_part->content_id = preg_replace(array('/^</', '/>$/'), '', $mail_part->headers['content-id']); 
    389390            if ($mail_part->headers['content-location']) 
    390391              $mail_part->content_location = $mail_part->headers['content-base'] . $mail_part->headers['content-location']; 
    391              
    392             if ($mail_part->content_id || $mail_part->content_location) { 
    393               $this->inline_parts[] = $mail_part; 
    394             } 
     392     
     393            $this->inline_parts[] = $mail_part; 
    395394          } 
    396395          // is a regular attachment 
Note: See TracChangeset for help on using the changeset viewer.