summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcube_message.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index af6c61c4f..e0c49f80c 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -375,6 +375,8 @@ class rcube_message
$p->ctype_secondary = 'plain';
$p->body = rcube_label('encryptedmessage');
$p->size = strlen($p->body);
+
+ $this->parts[] = $p;
}
// message contains multiple parts
else if (is_array($structure->parts) && !empty($structure->parts)) {