瀏覽代碼

Folder list not skipping INBOX for Courier; case seems to matter

pdontthink 21 年之前
父節點
當前提交
a98bc9508b
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      ChangeLog
  2. 1 1
      src/folders.php

+ 1 - 0
ChangeLog

@@ -106,6 +106,7 @@ Version 1.5.1 -- CVS
     change_password plugin
     change_password plugin
   - Make SMTP Authentication detection in conf.pl more RFC-compliant.
   - Make SMTP Authentication detection in conf.pl more RFC-compliant.
   - Fixed IMAP errors when using mail_fetch plugin to auto-fetch on login.
   - Fixed IMAP errors when using mail_fetch plugin to auto-fetch on login.
+  - Fixed folder list in Create Folders list for Courier (properly skip INBOX)
 
 
 Version 1.5.0
 Version 1.5.0
 --------------------
 --------------------

+ 1 - 1
src/folders.php

@@ -110,7 +110,7 @@ $server_type = strtolower($imap_server_type);
 if ( $server_type == 'courier' ) {
 if ( $server_type == 'courier' ) {
   array_push($skip_folders, 'inbox.trash');
   array_push($skip_folders, 'inbox.trash');
   if ( $default_folder_prefix == 'INBOX.' ) {
   if ( $default_folder_prefix == 'INBOX.' ) {
-    array_push($skip_folders, 'inbox');
+    array_push($skip_folders, 'INBOX');
   }
   }
 }
 }