summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-11-24 09:19:15 +0000
committeralecpl <alec@alec.pl>2008-11-24 09:19:15 +0000
commit7a2d79a978b770685f762895bc8cc00180870930 (patch)
treeeaaf604cccbc18dfaed25a7935728021922b7c5f /program/steps/mail/func.inc
parente4d9f05e4126501ce329fc4c36704375f6dfe681 (diff)
- make attachment check in rcmail_message_list and rcmail_js_message_list the same
Diffstat (limited to 'program/steps/mail/func.inc')
-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 ea63a266f..20c805a71 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -264,7 +264,7 @@ function rcmail_message_list($attrib)
$flagged_icon = $attrib['unflaggedicon'];
// set attachment icon
- if ($attrib['attachmenticon'] && preg_match("/multipart\/[mr]/i", $header->ctype))
+ if ($attrib['attachmenticon'] && preg_match("/multipart\/m/i", $header->ctype))
$attach_icon = $attrib['attachmenticon'];
$out .= sprintf('<tr id="rcmrow%d" class="message%s%s%s%s">'."\n",