浏览代码

Merge branch 'trunk'

Andy 3 年之前
父节点
当前提交
19f143e777
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      functions/imap_messages.php

+ 4 - 0
functions/imap_messages.php

@@ -586,6 +586,10 @@ function sqimap_get_small_header_list($imap_stream, $msg_list,
     $aHeaderFields = array('Date', 'To', 'Cc', 'From', 'Subject', 'X-Priority', 'Content-Type'),
     $aFetchItems = array('FLAGS', 'RFC822.SIZE', 'INTERNALDATE')) {
 
+    global $extra_small_header_fields;
+    if (!empty($extra_small_header_fields))
+        $aHeaderFields = array_merge($aHeaderFields, $extra_small_header_fields);
+
     $aMessageList = array();
 
     /**