From f94629e62b97b8f7cd31ff0339c8d443eea8610f Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 4 Dec 2008 09:21:24 +0000 Subject: [PATCH] #1485599: fix rcmail_folder_classname() --- program/include/main.inc | 5 ++--- 1 file 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; }