From f2793cad97a3781f05d52d2b441b9cdf3aae6a68 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 19 May 2015 14:34:35 +0000 Subject: [PATCH] Always display html for openned drafted message --- mail/inc/class.mail_compose.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index 64b6994e0d..75c64e2060 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -1606,7 +1606,7 @@ class mail_compose // remove a printview tag if composing $searchfor = '/^\['.lang('printview').':\]/'; $this->sessionData['subject'] = preg_replace($searchfor,'',$this->sessionData['subject']); - $bodyParts = $mail_bo->getMessageBody($_uid, $this->mailPreferences['always_display'], $_partID); + $bodyParts = $mail_bo->getMessageBody($_uid,'always_display', $_partID); //_debug_array($bodyParts); #$fromAddress = ($headers['FROM'][0]['PERSONAL_NAME'] != 'NIL') ? $headers['FROM'][0]['RFC822_EMAIL'] : $headers['FROM'][0]['EMAIL']; if($bodyParts['0']['mimeType'] == 'text/html') {