From: Michael M Slusarz Date: Thu, 2 Jul 2009 15:50:01 +0000 (-0600) Subject: Fix logic X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=00bcf7b7848ba1f845972afe55725aa6b7c02763;p=horde.git Fix logic --- diff --git a/framework/Mime/lib/Horde/Mime/Part.php b/framework/Mime/lib/Horde/Mime/Part.php index 2a1e496af..4719fc8cd 100644 --- a/framework/Mime/lib/Horde/Mime/Part.php +++ b/framework/Mime/lib/Horde/Mime/Part.php @@ -1002,7 +1002,7 @@ class Horde_Mime_Part if (is_string($headers)) { array_unshift($parts, $headers); } elseif ($headers) { - $hdr_ob = $this->addMimeHeaders(array('encode' => $options['encode'], 'headers' => ($headers === false) ? null : $headers)); + $hdr_ob = $this->addMimeHeaders(array('encode' => $options['encode'], 'headers' => ($headers === true) ? null : $headers)); $hdr_ob->setEOL($eol); if (!empty($this->_temp['toString'])) { $hdr_ob->replaceHeader('Content-Transfer-Encoding', $this->_temp['toString']);