From 00d42426f2fcf7f3451d4f6745d7f9f79feaaeba Mon Sep 17 00:00:00 2001 From: thomascube Date: Mon, 26 Sep 2011 07:36:24 +0000 Subject: [PATCH] Fix merging of annotation results when querying multiple attributes --- program/include/rcube_imap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 398803343..0f5651555 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -3746,7 +3746,7 @@ class rcube_imap // @TODO: Honor MAXSIZE and DEPTH options foreach ($queries as $attrib => $entry) if ($result = $this->conn->getAnnotation($mailbox, $entry, $attrib)) - $res = array_merge($res, $result); + $res = array_merge_recursive($res, $result); return $res; }