diff options
author | alecpl <alec@alec.pl> | 2008-12-04 09:21:24 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-12-04 09:21:24 +0000 |
commit | f94629e62b97b8f7cd31ff0339c8d443eea8610f (patch) | |
tree | 403061dbe2b3f17b7562ac646abc6deb931d9571 /program | |
parent | 1ce913beccdfa035b95de284ef2a63b50fdce02c (diff) |
#1485599: fix rcmail_folder_classname()
Diffstat (limited to 'program')
-rw-r--r-- | program/include/main.inc | 5 |
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; } |