- Timestamp:
- 07/08/10 17:52:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/class.message_components.inc.php
r1739 r3018 112 112 $skip_next = ($ftype == 'message/rfc822')? true : false; 113 113 114 if ($ftype == 'multipart/mixed' || $skip_part == true && $ftype == 'multipart/alternative' || $ftype == 'multipart/related' ) 114 if ($ftype == 'multipart/report' || $ftype == 'multipart/mixed' || $skip_part == true && $ftype == 'multipart/alternative' || ( $ftype == 'multipart/related' && strtolower( $parts[$p]->parts[0]->subtype ) == 'alternative' ) ) 115 115 { 116 116 $n--; 117 117 } 118 118 else 119 120 $this->pid[$mid][$n] = ($is_sub_part == false)? $i : ($sub_pid == '' ? '1' : $sub_pid).'.'.$i; 119 { 120 $this->pid[$mid][$n] = ($is_sub_part == false || $skip_part && $ftype == 'multipart/related' )? $i : ($sub_pid == '' ? '1' : $sub_pid).'.'.$i; 121 121 $this->file_type[$mid][$n] = $ftype; 122 122 $this->encoding[$mid][$n] = $encoding;
Note: See TracChangeset
for help on using the changeset viewer.