From 7a2d79a978b770685f762895bc8cc00180870930 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 24 Nov 2008 09:19:15 +0000 Subject: - make attachment check in rcmail_message_list and rcmail_js_message_list the same --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(''."\n", -- cgit v1.2.3