Aleksander Machniak
2014-09-03 574f416076d5ea65f8720d4680135c4f50d19f29
Fix merging folder annotations for folders with numeric names (only digits)
1 files modified
4 ■■■ changed files
program/lib/Roundcube/rcube_imap.php 4 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_imap.php
@@ -3682,7 +3682,9 @@
            // @TODO: Honor MAXSIZE and DEPTH options
            foreach ($queries as $attrib => $entry) {
                if ($result = $this->conn->getAnnotation($folder, $entry, $attrib)) {
                    $res = array_merge_recursive($res, $result);
                    foreach ($result as $folder => $data) {
                        $res[$folder] = array_merge((array) $res[$folder], $data);
                    }
                }
            }
        }