diff options
author | svncommit <devs@roundcube.net> | 2005-10-15 13:24:47 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2005-10-15 13:24:47 +0000 |
commit | e02e3dc8952ab2df1338b849462a8ec1811c48b1 (patch) | |
tree | 24b6479b32048be0a08871d57ecdc04f13003046 /program/include/rcube_imap.inc | |
parent | d206c1f4d798068623b0451d427f4ed5769ebb4b (diff) |
fixed warning when empty mailbox
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r-- | program/include/rcube_imap.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc index 8bbd9a2c5..859dd3183 100644 --- a/program/include/rcube_imap.inc +++ b/program/include/rcube_imap.inc @@ -320,6 +320,9 @@ class rcube_imap else $headers_cached = TRUE; + if (!is_array(a_msg_headers)) + return array(); + // sort headers by a specific col $a_headers = iil_SortHeaders($a_msg_headers, $sort_field, $sort_order); // free memory |