summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index 7dc74ab28..4d3cb6ca9 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -82,7 +82,7 @@ class rcube_message
*/
public function get_header($name, $raw = false)
{
- $value = $this->header->$name;
+ $value = $this->headers->$name;
return $raw ? $value : $this->imap->decode_header($value);
}