summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-03-02 07:59:54 +0000
committerthomascube <thomas@roundcube.net>2010-03-02 07:59:54 +0000
commitd5ffb58726237d81f167c7460ce4eabb4b768c51 (patch)
tree705ec1cf35edefb39f1a0daa825d1c22586cdc84 /program/include
parent5e9a5661011e64423e1978599c56d47f8b0cfa37 (diff)
Use case sensitive check when checking for default folders (#1486346)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_imap.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index ecde6f958..fdf524d30 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -2156,9 +2156,9 @@ class rcube_imap
foreach ($this->default_folders as $folder)
{
$abs_name = $this->mod_mailbox($folder);
- if (!in_array_nocase($abs_name, $a_folders))
+ if (!in_array($abs_name, $a_folders))
$this->create_mailbox($folder, TRUE);
- else if (!in_array_nocase($abs_name, $a_subscribed))
+ else if (!in_array($abs_name, $a_subscribed))
$this->subscribe($folder);
}
}