alecpl
2011-09-07 80152b333ca5d856dcf09f5ca10a9ffd80ba117f
program/include/rcube_message.php
@@ -77,7 +77,7 @@
        $this->imap->get_all_headers = true;
        $this->uid = $uid;
        $this->headers = $this->imap->get_headers($uid, NULL, true, true);
        $this->headers = $this->imap->get_message($uid);
        if (!$this->headers)
            return;
@@ -94,9 +94,9 @@
                '_mbox' => $this->imap->get_mailbox_name(), '_uid' => $uid))
        );
        if ($this->structure = $this->imap->get_structure($uid, $this->headers->body_structure)) {
            $this->get_mime_numbers($this->structure);
            $this->parse_structure($this->structure);
        if (!empty($this->headers->structure)) {
            $this->get_mime_numbers($this->headers->structure);
            $this->parse_structure($this->headers->structure);
        }
        else {
            $this->body = $this->imap->get_body($uid);