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, '');