summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2015-04-19 09:57:17 +0200
committerAleksander Machniak <alec@alec.pl>2015-04-19 09:57:17 +0200
commit1d0ffdc2ac0ec65db201d7cb6ce229aba78d858e (patch)
tree191736df2e51ce0e088578484ae8ea98d321d447
parentc095e6329c38bf759f42b414db9082d7f31aba18 (diff)
Fix decoding array headers
-rw-r--r--program/lib/Roundcube/rcube_message_header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_message_header.php b/program/lib/Roundcube/rcube_message_header.php
index 24535dd..de764f4 100644
--- a/program/lib/Roundcube/rcube_message_header.php
+++ b/program/lib/Roundcube/rcube_message_header.php
@@ -227,7 +227,7 @@ class rcube_message_header
if ($decode) {
if (is_array($value)) {
foreach ($value as $key => $val) {
- $value[$key] = rcube_mime::decode_header($val, $this->charset);
+ $val = rcube_mime::decode_header($val, $this->charset);
$value[$key] = rcube_charset::clean($val);
}
}