diff --git a/emailadmin/inc/class.emailadmin_imapbase.inc.php b/emailadmin/inc/class.emailadmin_imapbase.inc.php index 373b694acd..443d24e16a 100644 --- a/emailadmin/inc/class.emailadmin_imapbase.inc.php +++ b/emailadmin/inc/class.emailadmin_imapbase.inc.php @@ -2722,7 +2722,7 @@ class emailadmin_imapbase foreach ($subFolders as $path => $folder) { $folderInfo = mail_tree::pathToFolderData($folder['MAILBOX'], $folder['delimiter']); - if (in_array(trim($folderInfo['name']), $autofolders)) + if (in_array(trim($folderInfo['name']), $autofolders) || in_array(trim($folderInfo['name']), self::$autoFolders)) { $aFolders [$path] = $folder; }