From: ebullient Date: Mon, 24 Feb 2003 20:06:39 +0000 (+0000) Subject: Tweak a bit, thx to Jonathan X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7c8b7b4febe9826a75f0440360d275b6eed34f43;p=squirrelmail.git Tweak a bit, thx to Jonathan git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4549 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/folders.php b/src/folders.php index d90a0e3d..466e6ef7 100644 --- a/src/folders.php +++ b/src/folders.php @@ -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 ) {