From 554818bcd078eab8a6184034e3b5940c6caaa02f Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 4 Oct 2010 12:27:06 +0000 Subject: - Add Reply-to-List feature (#1484252) - Add Mail-Followup-To/Mail-Reply-To support (#1485547) git-svn-id: https://svn.roundcube.net/trunk@4032 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_message.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program/include/rcube_message.php') diff --git a/roundcubemail/program/include/rcube_message.php b/roundcubemail/program/include/rcube_message.php index 4351f17f5..6a6186d47 100644 --- a/roundcubemail/program/include/rcube_message.php +++ b/roundcubemail/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); } -- cgit v1.2.3