summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-11-24 09:19:15 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-11-24 09:19:15 +0000
commit63b1a54d3f42b3fc4ebbbde07f1bad987f07bebf (patch)
tree3cc987710d9bf48975e40a5732b0caa98fd41dcd /roundcubemail
parentd58f0e220aaabec5e91f5b45948cab3958ebb34f (diff)
- make attachment check in rcmail_message_list and rcmail_js_message_list the same
git-svn-id: https://svn.roundcube.net/trunk@2088 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-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 ea63a266f..20c805a71 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/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",