pdf export fix

This commit is contained in:
SJ 2014-04-07 13:22:01 +02:00
parent a32d3b7c8a
commit 793e059377

View File

@ -44,10 +44,10 @@ class ModelMessagePDF extends Model {
$message = $this->model_search_message->extract_message($piler_id);
$page = "From: " . $message['from'] . "<br />\n";
$page .= "To: " . $message['to'] . "<br />\n";
$page .= "Subject: " . $message['subject'] . "<br />\n";
$page .= "Date: " . $message['date'] . "<br />\n";
$page = $message['from'] . "<br />\n";
$page .= $message['to'] . "<br />\n";
$page .= $message['subject'] . "<br />\n";
$page .= $message['date'] . "<br />\n";
$page .= "<hr />\n" . $message['message'];
$this->create_pdf_from_eml($piler_id, $page, $images);