From 27663396d0b66eae4f8e367c81ecdfac4e72f602 Mon Sep 17 00:00:00 2001 From: SJ Date: Tue, 17 Feb 2015 13:56:51 +0100 Subject: [PATCH] fixed a journal bug in zip download --- webui/model/message/restore.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webui/model/message/restore.php b/webui/model/message/restore.php index f4e1802a..6f170666 100644 --- a/webui/model/message/restore.php +++ b/webui/model/message/restore.php @@ -20,6 +20,8 @@ class ModelMessageRestore extends Model { $rawemail = $this->model_search_message->get_raw_message($piler_id); + $this->model_search_message->remove_journal($rawemail); + $zip->addFromString($piler_id . ".eml", $rawemail); AUDIT(ACTION_DOWNLOAD_MESSAGE, '', '', $id, '');