summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-09-01 10:01:31 +0000
committerthomascube <thomas@roundcube.net>2006-09-01 10:01:31 +0000
commitea206d3d9299ce32996dcd24d49790e36f2b89a2 (patch)
treee607a652bff4d09b3d6d059d53806912d0f544b3 /program/include
parent10c92bef09262b7d46e6c87893715bb5a2e5e4a1 (diff)
Improved message parsing and HTML validation
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_imap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc
index a11c74910..4e1719736 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -1010,9 +1010,9 @@ class rcube_imap
// get part size
if (!empty($part[6]) && $part[6]!='NIL')
$struct->size = intval($part[6]);
-
+
// read part disposition
- $di = count($part) - 3;
+ $di = count($part) - 2;
if (is_array($part[$di]))
{
$struct->disposition = strtolower($part[$di][0]);