summaryrefslogtreecommitdiff
path: root/program/lib/imap.inc
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-06-30 22:02:28 +0000
committersvncommit <devs@roundcube.net>2006-06-30 22:02:28 +0000
commit25d8ba63b3c4831050e5d190cd42cf2b0b0f3a30 (patch)
tree34e871f1a9c9ec7f4e9f17f018c66b7379fb68b5 /program/lib/imap.inc
parenta894ba5029a09fb9d0453b5cf9c944ce313f8a48 (diff)
Misc bug and compatibility fixes
Diffstat (limited to 'program/lib/imap.inc')
-rw-r--r--program/lib/imap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 51db669c6..b8f3dea39 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -675,7 +675,7 @@ function iil_C_FetchHeaderIndex(&$conn, $mailbox, $message_set, $index_field, $n
if (empty($index_field)) $index_field="DATE";
$index_field = strtoupper($index_field);
- if (empty($message_set)) return array();
+ if ((empty($message_set)) || ($message_set == "1:0")) return array();
//$fields_a["DATE"] = ($IMAP_USE_INTERNAL_DATE?6:1);
$fields_a['DATE'] = 1;
@@ -2107,4 +2107,4 @@ function iil_C_ClearFolder(&$conn, $folder){
return (iil_C_Expunge($conn, $folder) >= 0);
}
-?> \ No newline at end of file
+?>