summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-12-04 08:56:45 +0000
committeralecpl <alec@alec.pl>2009-12-04 08:56:45 +0000
commit9a0f89d7af6cc815f21580049767cf721317d857 (patch)
tree4762ae80fd6705080b3895fdac21279fdd62ce0c
parent67a081753fefe38aeb8aeee1179312e0cd4185ee (diff)
- don't treat content-disposition item in structure as message part
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 7c8a26243..f47f56eb2 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1368,7 +1368,7 @@ class rcube_imap
}
if ($struct->ctype_primary=='message') {
- if (is_array($part[8]) && empty($struct->parts))
+ if (is_array($part[8]) && $di != 8 && empty($struct->parts))
$struct->parts[] = $this->_structure_part($part[8], ++$count, $struct->mime_id);
}