Changeset 3858


Ignore:
Timestamp:
03/11/11 07:09:49 (11 years ago)
Author:
rodsouza
Message:

Ticket #917 - Corrige e-mail multipart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.message_components.inc.php

    r3397 r3858  
    112112                    $skip_next    = ($ftype == 'message/rfc822')?        true : false; 
    113113 
    114                     if ($ftype == 'multipart/report' || $ftype == 'multipart/mixed' || $skip_part == true && $ftype == 'multipart/alternative' || ( $ftype == 'multipart/related' && strtolower( $parts[$p]->parts[0]->subtype ) == 'alternative' ) )  
     114                    if ($ftype == 'multipart/report' || $skip_part == true && ( $ftype == 'multipart/alternative' && strpos( strtolower( $parts[$p]->parts[0]->subtype ), array( 'html', 'plain' ) ) === false ) || ( $ftype == 'multipart/related' && strtolower( $parts[$p]->parts[0]->subtype ) == 'alternative' ) )  
    115115                    { 
    116116                        $n--; 
Note: See TracChangeset for help on using the changeset viewer.