diff --git a/program/lib/Roundcube/rcube_message_header.php b/program/lib/Roundcube/rcube_message_header.php index 24535dd84..de764f4b5 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); } }