From 793e059377a5ed7c22d4e579e5919e7cb0566297 Mon Sep 17 00:00:00 2001 From: SJ Date: Mon, 7 Apr 2014 13:22:01 +0200 Subject: [PATCH] pdf export fix --- webui/model/message/pdf.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webui/model/message/pdf.php b/webui/model/message/pdf.php index fea13ce4..856ec34b 100644 --- a/webui/model/message/pdf.php +++ b/webui/model/message/pdf.php @@ -44,10 +44,10 @@ class ModelMessagePDF extends Model { $message = $this->model_search_message->extract_message($piler_id); - $page = "From: " . $message['from'] . "
\n"; - $page .= "To: " . $message['to'] . "
\n"; - $page .= "Subject: " . $message['subject'] . "
\n"; - $page .= "Date: " . $message['date'] . "
\n"; + $page = $message['from'] . "
\n"; + $page .= $message['to'] . "
\n"; + $page .= $message['subject'] . "
\n"; + $page .= $message['date'] . "
\n"; $page .= "
\n" . $message['message']; $this->create_pdf_from_eml($piler_id, $page, $images);