alecpl
2008-12-04 f94629e62b97b8f7cd31ff0339c8d443eea8610f
#1485599: fix rcmail_folder_classname()


1 files modified
5 ■■■■■ changed files
program/include/main.inc 5 ●●●●● patch | view | raw | blame | history
program/include/main.inc
@@ -1144,12 +1144,11 @@
  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;
  }