Aleksander Machniak
2013-11-28 5f31429de5732617ad18fd2b67d6e2424a7185a7
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.
1 files modified
6 ■■■■■ changed files
program/lib/Roundcube/rcube_imap_cache.php 6 ●●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_imap_cache.php
@@ -1250,10 +1250,8 @@
        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)) {