Changeset 6749e45 in github


Ignore:
Timestamp:
Jun 4, 2010 5:03:47 PM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
4ef5643
Parents:
7c866e4
Message:
  • fix parsing bodystructure of messages with "Content-Type: multipart/related; type=multipart/alternative"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.php

    r309f49f r6749e45  
    17581758            // build parts list for headers pre-fetching 
    17591759            for ($i=0, $count=0; $i<count($part); $i++) { 
    1760                 if (is_array($part[$i]) && count($part[$i]) > 3) { 
     1760                if (is_array($part[$i]) && count($part[$i]) > 4) { 
    17611761                    // fetch message headers if message/rfc822 
    17621762                    // or named part (could contain Content-Location header) 
     
    17881788            $struct->parts = array(); 
    17891789            for ($i=0, $count=0; $i<count($part); $i++) { 
    1790                 if (is_array($part[$i]) && count($part[$i]) > 3) { 
     1790                if (is_array($part[$i]) && count($part[$i]) > 4) { 
    17911791                    $tmp_part_id = $struct->mime_id ? $struct->mime_id.'.'.($i+1) : $i+1; 
    17921792                    $struct->parts[] = $this->_structure_part($part[$i], ++$count, $struct->mime_id, 
Note: See TracChangeset for help on using the changeset viewer.