Fix decoding array headers

pull/274/head
Aleksander Machniak 10 years ago
parent c095e6329c
commit 1d0ffdc2ac

@ -227,7 +227,7 @@ class rcube_message_header
if ($decode) { if ($decode) {
if (is_array($value)) { if (is_array($value)) {
foreach ($value as $key => $val) { 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); $value[$key] = rcube_charset::clean($val);
} }
} }

Loading…
Cancel
Save