From 4859fedb92b2ac0b3e717133c2ee32fa449ed06b Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 07 Aug 2010 08:04:39 -0400
Subject: [PATCH] Fix unit tests + update version

---
 program/include/rcube_message.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index 124120b..ded019c 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -248,7 +248,7 @@
     private function parse_structure($structure, $recursive = false)
     {
         // real content-type of message/rfc822 part
-        if ($mimetype == 'message/rfc822' && $structure->real_mimetype)
+        if ($structure->mimetype == 'message/rfc822' && $structure->real_mimetype)
             $mimetype = $structure->real_mimetype;
         else
             $mimetype = $structure->mimetype;

--
Gitblit v1.9.1