فهرست منبع

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'),
     $aHeaderFields = array('Date', 'To', 'Cc', 'From', 'Subject', 'X-Priority', 'Content-Type'),
     $aFetchItems = array('FLAGS', 'RFC822.SIZE', 'INTERNALDATE')) {
     $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();
     $aMessageList = array();
 
 
     /**
     /**