From 46f7b7096450939fe03c95aa81ce06ae4bfca89d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 28 Mar 2016 06:51:43 -0400
Subject: [PATCH] Enable reply/reply-all/forward buttons also in preview frame of message/rfc822

---
 program/steps/mail/headers.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/mail/headers.inc b/program/steps/mail/headers.inc
index 174a5e8..17a471e 100644
--- a/program/steps/mail/headers.inc
+++ b/program/steps/mail/headers.inc
@@ -22,7 +22,7 @@
 if ($uid = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_POST)) {
     if ($pos = strpos($uid, '.')) {
         $message = new rcube_message($uid);
-        $source  = $message->get_part_content(substr($uid, $pos + 1));
+        $source  = $message->get_part_body(substr($uid, $pos + 1));
         $source  = substr($source, 0, strpos($source, "\r\n\r\n"));
     }
     else {

--
Gitblit v1.9.1