diff options
-rw-r--r-- | program/include/rcube_imap.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc index 5be4943e4..8fea05667 100644 --- a/program/include/rcube_imap.inc +++ b/program/include/rcube_imap.inc @@ -2460,7 +2460,7 @@ class rcube_imap if ($folder{0}=='.') continue; - if (($p = array_search(strtolower($folder), $this->default_folders_lc))!==FALSE) + if (($p = array_search(strtolower($folder), $this->default_folders_lc)) !== false && !$a_defaults[$p]) $a_defaults[$p] = $folder; else $a_out[] = $folder; |