summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_imap.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-03 16:03:57 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-03 16:04:42 +0200
commitea002b6d7637497d9caab39381fbe66985634fac (patch)
tree0dd7a86b70c0467a0be609bd1193ad2d5a051e6f /program/lib/Roundcube/rcube_imap.php
parent334784a051f44d75642e50a40684f93812a652b4 (diff)
Fix possible header duplicates when using additional headers (#1489033)
Diffstat (limited to 'program/lib/Roundcube/rcube_imap.php')
-rw-r--r--program/lib/Roundcube/rcube_imap.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php
index 18c6b12af..16b309c62 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -3371,7 +3371,6 @@ class rcube_imap extends rcube_storage
{
if (!empty($this->options['fetch_headers'])) {
$headers = explode(' ', $this->options['fetch_headers']);
- $headers = array_map('strtoupper', $headers);
}
else {
$headers = array();
@@ -3381,7 +3380,7 @@ class rcube_imap extends rcube_storage
$headers = array_merge($headers, $this->all_headers);
}
- return implode(' ', array_unique($headers));
+ return $headers;
}