Force this data to be MIME compliant
authorMichael M Slusarz <slusarz@curecanti.org>
Sat, 22 Aug 2009 15:28:34 +0000 (09:28 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Sat, 22 Aug 2009 15:28:34 +0000 (09:28 -0600)
imp/lib/Mime/Viewer/Partial.php

index bdd3fb0..6f0a2d2 100644 (file)
@@ -76,7 +76,7 @@ class IMP_Horde_Mime_Viewer_Partial extends Horde_Mime_Viewer_Driver
         ksort($parts, SORT_NUMERIC);
 
         /* Combine the parts. */
-        $mime_part = Horde_Mime_Part::parseMessage(implode('', $parts));
+        $mime_part = Horde_Mime_Part::parseMessage(implode('', $parts), array('forcemime' => true));
         return ($mime_part === false)
             ? null
             : array($this->_mimepart->getMimeId() => $mime_part);