diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-04 09:21:24 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-04 09:21:24 +0000 |
| commit | 460d6638fa3b8b9d9d9e7237cfd6dad8bc54b64a (patch) | |
| tree | ea5310db2c662110744db21fd2052aa1285c00a5 /roundcubemail/program/include | |
| parent | abf69d2756f57d0391f68661c667b71ce166b443 (diff) | |
#1485599: fix rcmail_folder_classname()
git-svn-id: https://svn.roundcube.net/trunk@2114 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/main.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index b5447c70a..3a102ba84 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/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; } |
