summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-04-08 06:30:14 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-04-08 06:30:14 +0000
commita4f25908266416b7aad1934568786ca15cd05d98 (patch)
tree624c2c562c265b32cfab8ecabbf4d6df538b743f
parent21dce91dd5035a2ae0f0faef9fc27a6f0b2951cb (diff)
- re-fix last commmit
git-svn-id: https://svn.roundcube.net/trunk@2378 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/lib/imap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/lib/imap.inc b/roundcubemail/program/lib/imap.inc
index 394a190b0..d343564d2 100644
--- a/roundcubemail/program/lib/imap.inc
+++ b/roundcubemail/program/lib/imap.inc
@@ -2446,9 +2446,9 @@ function iil_C_FetchMIMEHeaders(&$conn, $mailbox, $id, $parts) {
$line = iil_ReadLine($fp, 1000);
$line = iil_MultLine($fp, $line);
- if (preg_match('/BODY\.PEEK\[([0-9\.]+)\.MIME\]/', $line, $matches)) {
+ if (preg_match('/BODY\[([0-9\.]+)\.MIME\]/', $line, $matches)) {
$idx = $matches[1];
- $result[$idx] = preg_replace('/^(\* '.$id.' FETCH \()?\s*BODY\.PEEK\['.$idx.'\.MIME\]\s+/', '', $line);
+ $result[$idx] = preg_replace('/^(\* '.$id.' FETCH \()?\s*BODY\['.$idx.'\.MIME\]\s+/', '', $line);
$result[$idx] = trim($result[$idx], '"');
$result[$idx] = rtrim($result[$idx], "\t\r\n\0\x0B");
}