program/include/main.inc
@@ -1332,6 +1332,8 @@ */ function rcmail_build_folder_tree(&$arrFolders, $folder, $delm='/', $path='') { global $RCMAIL; $pos = strpos($folder, $delm); if ($pos !== false) { @@ -1354,6 +1356,11 @@ $path .= $currentFolder; // Check \Noselect option (if options are in cache) if (!$virtual && ($opts = $RCMAIL->imap->mailbox_options($path))) { $virtual = in_array('\\Noselect', $opts); } if (!isset($arrFolders[$currentFolder])) { $arrFolders[$currentFolder] = array( 'id' => $path,