diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/main.inc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 3a102ba84..95b167969 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1143,16 +1143,15 @@ function rcmail_folder_classname($folder_id) { global $CONFIG; - $cname = null; - // for these mailboxes we have localized labels and css classes - foreach (array('inbox', 'sent', 'drafts', 'trash', 'junk') as $smbx) + foreach (array('sent', 'drafts', 'trash', 'junk') as $smbx) { if ($folder_id == $CONFIG[$smbx.'_mbox']) - $cname = $smbx; + return $smbx; } - - return $cname; + + if ($folder_id == 'INBOX') + return 'inbox'; } |