diff options
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 4bf7cac88..7fbff37f1 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -163,8 +163,9 @@ class rcube_imap } // get server properties - if (!empty($this->conn->rootdir)) - $this->set_rootdir($this->conn->rootdir); + $rootdir = $this->conn->getRootDir(); + if (!empty($rootdir)) + $this->set_rootdir($rootdir); if (empty($this->delimiter)) $this->get_hierarchy_delimiter(); |