summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2008-10-25 00:01:45 +0000
committersvncommit <devs@roundcube.net>2008-10-25 00:01:45 +0000
commitc9ca6ada03f27bfe8c86f61f418afb86971f9dff (patch)
treeb0369a4851c7e743181d0cc7da880c8d1c3e321c /program/include/rcube_imap.php
parent1971ddc1dd0eb9bf07f17f72dde48d7edca7b69b (diff)
added obscure ASCII encoding aliases, added more error checking to RFC2822 date parsing
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 4a71c974f..e18c14c2e 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1025,14 +1025,16 @@ class rcube_imap
$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_str = iil_C_FetchStructureString($this->conn, $this->mailbox, $msg_id);
$structure = iml_GetRawStructureArray($structure_str);
$struct = false;