#1485599: fix rcmail_folder_classname()

release-0.6
alecpl 16 years ago
parent 1ce913becc
commit f94629e62b

@ -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;
}

Loading…
Cancel
Save