[Svn] r3794 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Wed Jun 30 11:13:45 CEST 2010


Author: alec
Date: 2010-06-30 04:13:45 -0500 (Wed, 30 Jun 2010)
New Revision: 3794

Modified:
   trunk/roundcubemail/program/steps/mail/func.inc
Log:
- Show attachment icon on the list also for messages with Content-Type: application/*


Modified: trunk/roundcubemail/program/steps/mail/func.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/func.inc	2010-06-30 08:40:39 UTC (rev 3793)
+++ trunk/roundcubemail/program/steps/mail/func.inc	2010-06-30 09:13:45 UTC (rev 3794)
@@ -321,7 +321,7 @@
       $a_msg_flags['forwarded'] = 1;
     if ($header->flagged)
       $a_msg_flags['flagged'] = 1;
-    if(preg_match("/multipart\/m/i", $header->ctype))
+    if (preg_match("/(application\/|multipart\/m)/i", $header->ctype))
       $a_msg_flags['attachment'] = 1;
     $a_msg_flags['mbox'] = $mbox;
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list