alecpl
2011-11-18 e37e7dda37f593e44d61bec0fe611b4de99c5791
program/include/rcube_imap.php
@@ -3168,7 +3168,7 @@
        // #1486796: some server configurations doesn't
        // return folders in all namespaces, we'll try to detect that situation
        // and ask for these namespaces separately
        if ($root == '' && $name = '*') {
        if ($root == '' && $name == '*') {
            $delim     = $this->get_hierarchy_delimiter();
            $namespace = $this->get_namespace();
            $search    = array();
@@ -3178,7 +3178,7 @@
                if (is_array($ns)) {
                    foreach ($ns as $ns_data) {
                        if (strlen($ns_data[0])) {
                            $search = $ns_data[0];
                            $search[] = $ns_data[0];
                        }
                    }
                }