From 1a2f8375ded7563964ea24c44c7874a92e6f7b77 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 12 Aug 2010 03:11:28 -0400 Subject: [PATCH] - add message_part_structure hook also for text parts of mixed messages --- program/include/rcube_imap.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 5766722..3aa2132 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -1714,7 +1714,7 @@ if ($headers->ctype && !is_array($structure[0]) && $headers->ctype != 'text/plain' && strtolower($structure[0].'/'.$structure[1]) == 'text/plain') { // we can handle single-part messages, by simple fix in structure (#1486898) - if (preg_match('/^(text|application)\/(.*)/i', $headers->ctype, $m)) { + if (preg_match('/^(text|application)\/(.*)/', $headers->ctype, $m)) { $structure[0] = $m[1]; $structure[1] = $m[2]; } -- Gitblit v1.9.1