Fix constructor call.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Nov 2008 05:46:41 +0000 (22:46 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Nov 2008 05:46:41 +0000 (22:46 -0700)
imp/lib/Compose.php

index d859881..1bb8a8d 100644 (file)
@@ -994,7 +994,8 @@ class IMP_Compose
                 }
             }
         } elseif ($this->_pgpAttachPubkey || $this->_attachVCard) {
-            $base = new Horde_Mime_Part('multipart/mixed');
+            $base = new Horde_Mime_Part();
+            $base->setType('multipart/mixed');
             $base->addPart($textpart);
         } else {
             $base = $textpart;