summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-30 09:13:45 +0000
committeralecpl <alec@alec.pl>2010-06-30 09:13:45 +0000
commit761894e65b7c021caa60a3f4ac9fd530cd501112 (patch)
treeef6b8f63c933f72e99d0f2504fcf4e186602649c /program/steps/mail
parent3940ba65be1993c4a2c2be4599f53d3018228783 (diff)
- Show attachment icon on the list also for messages with Content-Type: application/*
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 911832691..e265c9c1e 100644
--- a/program/steps/mail/func.inc
+++ b/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;