mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 08:57:03 +03:00
Resolve #68
This commit is contained in:
parent
5d09a14193
commit
544d2272c8
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ trait Folders
|
||||||
if (isset($aMap[$sName]) || isset($aMap[$sFullName]))
|
if (isset($aMap[$sName]) || isset($aMap[$sFullName]))
|
||||||
{
|
{
|
||||||
$iFolderType = isset($aMap[$sName]) ? $aMap[$sName] : $aMap[$sFullName];
|
$iFolderType = isset($aMap[$sName]) ? $aMap[$sName] : $aMap[$sFullName];
|
||||||
if (!isset($aResult[$iFolderType]) && \in_array($iFolderType, array(
|
if ((!isset($aResult[$iFolderType]) || $sName === $sFullName || "INBOX{$oFolder->Delimiter()}{$sName}" === $sFullName) && \in_array($iFolderType, array(
|
||||||
FolderType::INBOX,
|
FolderType::INBOX,
|
||||||
FolderType::SENT,
|
FolderType::SENT,
|
||||||
FolderType::DRAFTS,
|
FolderType::DRAFTS,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue