Fix not sorting outbox

This commit is contained in:
Hadi Nategh 2015-10-01 16:37:28 +00:00
parent f7b3238697
commit 27c695d234

View File

@ -2722,7 +2722,7 @@ class emailadmin_imapbase
foreach ($subFolders as $path => $folder) foreach ($subFolders as $path => $folder)
{ {
$folderInfo = mail_tree::pathToFolderData($folder['MAILBOX'], $folder['delimiter']); $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; $aFolders [$path] = $folder;
} }