thomascube
2006-08-27 58afbe954782a65a2a7c666ac4c6b6c69c2b80db
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']);