summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/main.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index b5447c70a..3a102ba84 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1144,12 +1144,11 @@ function rcmail_folder_classname($folder_id)
global $CONFIG;
$cname = null;
- $folder_lc = strtolower($folder_id);
-
+
// for these mailboxes we have localized labels and css classes
foreach (array('inbox', 'sent', 'drafts', 'trash', 'junk') as $smbx)
{
- if ($folder_lc == $smbx || $folder_id == $CONFIG[$smbx.'_mbox'])
+ if ($folder_id == $CONFIG[$smbx.'_mbox'])
$cname = $smbx;
}