summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-03-05 08:01:42 +0000
committeralecpl <alec@alec.pl>2011-03-05 08:01:42 +0000
commit6a4bccb7965e281f0a9ef11b90cd71058924ca16 (patch)
treebea229c5dc4fe15b864a2c7646a50927f72c76ca
parent8df56e618a30f97e6df029a968205ec2ad73e06e (diff)
- Fix some emails are not shown using Cyrus IMAP (#1487820)
-rw-r--r--CHANGELOG1
-rw-r--r--program/include/rcube_imap_generic.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 27d71d791..90ce0ab6a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix some emails are not shown using Cyrus IMAP (#1487820)
- Fix handling of mime-encoded words with non-integral number of octets in a word (#1487801)
- New config option for custom logo
- Allow skins to define/override texts with <roundcube:label />
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 43b2dff8b..c867911bb 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -1344,7 +1344,7 @@ class rcube_imap_generic
$result[$id] = '';
}
} else if ($mode == 2) {
- if (preg_match('/\((UID|RFC822\.SIZE) ([0-9]+)/', $line, $matches)) {
+ if (preg_match('/(UID|RFC822\.SIZE) ([0-9]+)/', $line, $matches)) {
$result[$id] = trim($matches[2]);
} else {
$result[$id] = 0;