From 84dde88680b09b1b31762f9e04c95a13226adef7 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 19 Apr 2015 03:58:31 -0400
Subject: [PATCH] Fix decoding array headers
---
program/lib/Roundcube/rcube_message_header.php | 2 +-
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 @@
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);
}
}
--
Gitblit v1.9.1