From a36e1ef9671e38f421586c386e94cb1eb4e9b83f Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 30 Dec 2010 06:19:43 -0500
Subject: [PATCH] - Fix handling of INBOX when personal namespace prefix is non-empty (#1487657)
---
program/include/rcube_imap.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 5e4d228..24c361c 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -3337,7 +3337,7 @@
}
}
// Add prefix if first personal namespace is non-empty
- if ($this->namespace['personal'][0][0]) {
+ if ($mbox_name != 'INBOX' && $this->namespace['personal'][0][0]) {
return $this->namespace['personal'][0][0].$mbox_name;
}
}
--
Gitblit v1.9.1