From 27c695d2346ee7ac9afb52a7884a55e2e0f45104 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 1 Oct 2015 16:37:28 +0000 Subject: [PATCH] Fix not sorting outbox --- emailadmin/inc/class.emailadmin_imapbase.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }