summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-22 14:17:25 +0000
committerthomascube <thomas@roundcube.net>2005-10-22 14:17:25 +0000
commitf619dedc5aa2020eeffa01e05feacedb043ccb66 (patch)
tree21d544808edbd23837951cbe19d64ed84242dbe5 /program/include/rcube_imap.inc
parent7dd801e71011f62ff7b2dd59636a6908fd037993 (diff)
Patches for 20051021 release
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r--program/include/rcube_imap.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc
index 009c80add..47999c860 100644
--- a/program/include/rcube_imap.inc
+++ b/program/include/rcube_imap.inc
@@ -1086,10 +1086,10 @@ class rcube_imap
function _mod_mailbox($mbox, $mode='in')
{
- if (!empty($this->root_ns) && $this->root_ns == $mbox)
+ if ((!empty($this->root_ns) && $this->root_ns == $mbox) || ($mbox == 'INBOX' && $mode == 'in'))
return $mbox;
- if (!empty($this->root_dir) && $mode=='in')
+ if (!empty($this->root_dir) && $mode=='in')
$mbox = $this->root_dir.$this->delimiter.$mbox;
else if (strlen($this->root_dir) && $mode=='out')
$mbox = substr($mbox, strlen($this->root_dir)+1);