From 25d8ba63b3c4831050e5d190cd42cf2b0b0f3a30 Mon Sep 17 00:00:00 2001 From: svncommit Date: Fri, 30 Jun 2006 22:02:28 +0000 Subject: Misc bug and compatibility fixes --- program/lib/imap.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/lib') 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 +?> -- cgit v1.2.3