Fix headers encoding when using 'valueof' mode

pull/320/head
Aleksander Machniak 9 years ago
parent d5f7490b08
commit 558a6db27e

@ -1116,7 +1116,8 @@ function rcmail_message_headers($attrib, $headers=null)
// single header value is requested // single header value is requested
if (!empty($attrib['valueof'])) { if (!empty($attrib['valueof'])) {
return rcube::Q($plugin['output'][$attrib['valueof']]['value']); $row = $plugin['output'][$attrib['valueof']];
return $row['html'] ? $row['value'] : rcube::Q($row['value']);
} }
// compose html table // compose html table

Loading…
Cancel
Save