diff options
author | thomascube <thomas@roundcube.net> | 2007-11-25 16:24:49 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-11-25 16:24:49 +0000 |
commit | c007e6ae396e95f09b840b46f0c5c695b45b2283 (patch) | |
tree | 58cf8613125be0a57c9ac1d2343e12d873a269be /program/include | |
parent | 644e27e5543d35b095ef2a6e0612f0a26626d1f8 (diff) |
Fix bug with case-sensitive folder names (#1484245)
Diffstat (limited to 'program/include')
-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; |