diff options
author | alecpl <alec@alec.pl> | 2012-04-23 09:33:35 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-23 09:33:35 +0000 |
commit | a57f9e2c64a8495ccb89a8b79eba6052483a0ede (patch) | |
tree | 3bd115981d50b96163fc8c1c10247652489011d8 /plugins/show_additional_headers/show_additional_headers.php | |
parent | 2cadfbbd76581c7f4bbbbcdb63b812e56acc6839 (diff) |
- Applied fixes from trunk up to r6118
Diffstat (limited to 'plugins/show_additional_headers/show_additional_headers.php')
-rw-r--r-- | plugins/show_additional_headers/show_additional_headers.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/show_additional_headers/show_additional_headers.php b/plugins/show_additional_headers/show_additional_headers.php index cc71421ee..69ac7f2a7 100644 --- a/plugins/show_additional_headers/show_additional_headers.php +++ b/plugins/show_additional_headers/show_additional_headers.php @@ -42,9 +42,8 @@ class show_additional_headers extends rcube_plugin { $rcmail = rcmail::get_instance(); foreach ((array)$rcmail->config->get('show_additional_headers', array()) as $header) { - $key = strtolower($header); - if ($value = $p['headers']->others[$key]) - $p['output'][$key] = array('title' => $header, 'value' => Q($value)); + if ($value = $p['headers']->get($header)) + $p['output'][$header] = array('title' => $header, 'value' => Q($value)); } return $p; |