From: Michael M Slusarz Date: Tue, 25 Nov 2008 05:46:41 +0000 (-0700) Subject: Fix constructor call. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=026564772ad6fcd98a5e99f938e92921cd43bc84;p=horde.git Fix constructor call. --- diff --git a/imp/lib/Compose.php b/imp/lib/Compose.php index d85988119..1bb8a8d61 100644 --- a/imp/lib/Compose.php +++ b/imp/lib/Compose.php @@ -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;