fixed a journal bug in zip download

This commit is contained in:
SJ 2015-02-17 13:56:51 +01:00
parent c01f0afc18
commit 27663396d0

View File

@ -20,6 +20,8 @@ class ModelMessageRestore extends Model {
$rawemail = $this->model_search_message->get_raw_message($piler_id); $rawemail = $this->model_search_message->get_raw_message($piler_id);
$this->model_search_message->remove_journal($rawemail);
$zip->addFromString($piler_id . ".eml", $rawemail); $zip->addFromString($piler_id . ".eml", $rawemail);
AUDIT(ACTION_DOWNLOAD_MESSAGE, '', '', $id, ''); AUDIT(ACTION_DOWNLOAD_MESSAGE, '', '', $id, '');