diff options
author | alecpl <alec@alec.pl> | 2010-10-04 12:27:06 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-10-04 12:27:06 +0000 |
commit | e25a357d956c263c90f1c816395418ef4dbc2939 (patch) | |
tree | 3f9c173a0edd2cbbfb2d1cfe0ad66fe6548639a0 /program/include/rcube_message.php | |
parent | 619d58a5ac07b06239add110cf6e8a1a7c6dcc57 (diff) |
- Add Reply-to-List feature (#1484252)
- Add Mail-Followup-To/Mail-Reply-To support (#1485547)
Diffstat (limited to 'program/include/rcube_message.php')
-rw-r--r-- | program/include/rcube_message.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php index 4351f17f5..6a6186d47 100644 --- a/program/include/rcube_message.php +++ b/program/include/rcube_message.php @@ -115,7 +115,11 @@ class rcube_message */ public function get_header($name, $raw = false) { - $value = $this->headers->$name; + if ($this->headers->$name) + $value = $this->headers->$name; + else if ($this->headers->others[$name]) + $value = $this->headers->others[$name]; + return $raw ? $value : $this->imap->decode_header($value); } |