From 7a2d79a978b770685f762895bc8cc00180870930 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 24 Nov 2008 04:19:15 -0500 Subject: [PATCH] - make attachment check in rcmail_message_list and rcmail_js_message_list the same --- program/steps/mail/func.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index ea63a26..20c805a 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -264,7 +264,7 @@ $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", -- Gitblit v1.9.1