diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-24 15:46:17 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-24 15:46:17 +0000 |
| commit | bb7b2b628a80f18db2dba6863c0e6746662b42b0 (patch) | |
| tree | 224461691baedfde432bbb0909eaff8b6ed4f0a4 /roundcubemail/program/include | |
| parent | 252bfe3bcad5a5940023abf316ff516872f4df41 (diff) | |
Add check to other cases, too
git-svn-id: https://svn.roundcube.net/trunk@4264 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 3fa24939c..212e8865e 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/program/include/rcube_imap.php @@ -3245,7 +3245,7 @@ class rcube_imap if (is_array($this->namespace['other'])) { foreach ($this->namespace['other'] as $ns) { foreach ((array)$ns as $root) { - if (strpos($mbox_name, $root[0]) === 0) { + if ($root[0] && strpos($mbox_name, $root[0]) === 0) { return $mbox_name; } } |
