diff options
Diffstat (limited to 'include/email.php')
-rw-r--r-- | include/email.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/email.php b/include/email.php index b43ae0dc1..46feb4582 100644 --- a/include/email.php +++ b/include/email.php @@ -48,8 +48,8 @@ function construct_mailbox_name($mailacct) { function email_msg_meta($mbox,$uid) { - $ret = (($mbox && $uid) ? @imap_fetch_overview($mbox,$uid,FT_UID) : array(array())); - return ((count($ret)) ? $ret[0] : array()); + $ret = (($mbox && $uid) ? @imap_fetch_overview($mbox,$uid,FT_UID) : array(array())); // POSSIBLE CLEANUP --> array(array()) is probably redundant now + return ((count($ret)) ? $ret : array()); } function email_msg_headers($mbox,$uid) { |