thomascube
2006-08-27 58afbe954782a65a2a7c666ac4c6b6c69c2b80db
Fixed message parsing problems (Ticket #1327068)

1 files modified
4 ■■■■ changed files
program/include/rcube_imap.inc 4 ●●●● patch | view | raw | blame | history
program/include/rcube_imap.inc
@@ -932,9 +932,9 @@
      
      $struct = &$this->_structure_part($structure);
      $struct->headers = get_object_vars($headers);
      // don't trust given content-type
      if (empty($struct->parts))
      if (empty($struct->parts) && !empty($struct->headers['ctype']))
        {
        $struct->mime_id = '1';
        $struct->mimetype = strtolower($struct->headers['ctype']);