svncommit
2008-10-24 c9ca6ada03f27bfe8c86f61f418afb86971f9dff
program/include/rcube_imap.php
@@ -1025,12 +1025,14 @@
    $headers = &$this->get_cached_message($cache_key, $uid, true);
    // return cached message structure
    if (is_object($headers) && is_object($headers->structure))
    if (is_object($headers) && is_object($headers->structure)) {
      return $headers->structure;
    }
    
    // resolve message sequence number
    if (!($msg_id = $this->_uid2id($uid)))
    if (!($msg_id = $this->_uid2id($uid))) {
      return FALSE;
    }
    $structure_str = iil_C_FetchStructureString($this->conn, $this->mailbox, $msg_id); 
    $structure = iml_GetRawStructureArray($structure_str);