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

1 files modified
2 ■■■ changed files
program/include/rcube_imap.inc 2 ●●● patch | view | raw | blame | history
program/include/rcube_imap.inc
@@ -934,7 +934,7 @@
      $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']);