Fix preparation of message object before saving into the cache.

The bug cased e.g. displaying HTML content as plain text for messages
with Content-Type: text/html.
pull/157/head
Aleksander Machniak 11 years ago
parent f25a96bd40
commit 5f31429de5

@ -1250,10 +1250,8 @@ class rcube_imap_cache
unset($msg->replaces);
if (is_array($msg->structure->parts)) {
foreach ($msg->structure->parts as $part) {
$this->message_object_prepare($part, $size);
}
if (is_object($msg->structure)) {
$this->message_object_prepare($msg->structure, $size);
}
if (is_array($msg->parts)) {

Loading…
Cancel
Save