summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-21 08:11:23 +0000
committeralecpl <alec@alec.pl>2011-09-21 08:11:23 +0000
commitc054ec5c7a859aa15243f0b1cbd3e84239ed4023 (patch)
tree05fd22171127851eb08a25314ad1b86d1fb85c34 /program
parent4b21d26879648db39445819456bcf8c630a653e8 (diff)
- Fix lost info for encrypted messages
Diffstat (limited to 'program')
-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)) {