Tweak a bit, thx to Jonathan
authorebullient <ebullient@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Feb 2003 20:06:39 +0000 (20:06 +0000)
committerebullient <ebullient@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Feb 2003 20:06:39 +0000 (20:06 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4549 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/folders.php

index d90a0e3d205bc9f2ed3e04d0a4965a435c424f86..466e6ef7c4bd80433302122e2d0d00af7fd53bb2 100644 (file)
@@ -107,7 +107,10 @@ $skip_folders=0;
 $server_type = strtolower($imap_server_type);
 if ( $server_type == 'courier' ) {
   $show_selected = array('inbox');
-  $skip_folders = array('inbox','inbox.trash');
+  $skip_folders = array('inbox.trash');
+  if ( $default_folder_prefix == 'INBOX.' ) {
+    array_push($skip_folders, 'inbox');
+  }
 }
 
 if ( $default_sub_of_inbox == false ) {