summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-30 09:13:45 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-30 09:13:45 +0000
commite8fa868c5e6d0be648cb10e6e774f589e7ce89c2 (patch)
treee5f779fde3b1f9b764fdba6eca3931ee84e6bc62 /roundcubemail/program
parentef6d81ddf89be425f2634848006a37ff5b95ac8a (diff)
- Show attachment icon on the list also for messages with Content-Type: application/*
git-svn-id: https://svn.roundcube.net/trunk@3794 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 911832691..e265c9c1e 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -321,7 +321,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $head_replace=FAL
$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;