Ignore:
Timestamp:
Sep 8, 2011 8:24:47 AM (22 months ago)
Author:
alec
Message:
  • Merge r5192 from trunk, I'll continue QRESYNC implementation here
Location:
branches/devel-mcache
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-mcache

  • branches/devel-mcache/roundcubemail

  • branches/devel-mcache/roundcubemail/program/include/rcube_imap.php

    r5082 r5193  
    20002000 
    20012001        $struct = &$this->_structure_part($structure, 0, '', $headers); 
    2002         $struct->headers = get_object_vars($headers); 
    20032002 
    20042003        // don't trust given content-type 
    2005         if (empty($struct->parts) && !empty($struct->headers['ctype'])) { 
     2004        if (empty($struct->parts) && !empty($headers->ctype)) { 
    20062005            $struct->mime_id = '1'; 
    2007             $struct->mimetype = strtolower($struct->headers['ctype']); 
     2006            $struct->mimetype = strtolower($headers->ctype); 
    20082007            list($struct->ctype_primary, $struct->ctype_secondary) = explode('/', $struct->mimetype); 
    20092008        } 
Note: See TracChangeset for help on using the changeset viewer.