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:03:57 +0200
commit99edf8699a1b79cdb4a2398680f8f4e97292e2f3 (patch)
treed22f2f90da8bfc49394feede10c7ad332cffac0e /program/lib/Roundcube/rcube_imap.php
parentbd698341c4871bdabd763601583f0e9ff7137a97 (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 0aa059c26..c67985186 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -3372,7 +3372,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();
@@ -3382,7 +3381,7 @@ class rcube_imap extends rcube_storage
$headers = array_merge($headers, $this->all_headers);
}
- return implode(' ', array_unique($headers));
+ return $headers;
}