From: Michael M Slusarz Date: Tue, 15 Dec 2009 18:33:46 +0000 (-0700) Subject: Fix display of ASCII armored PGP text X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a42380c5b7ca46e21f99b7621075b8b00f117c21;p=horde.git Fix display of ASCII armored PGP text --- diff --git a/imp/lib/Mime/Viewer/Plain.php b/imp/lib/Mime/Viewer/Plain.php index 51256f320..0f15b2a24 100644 --- a/imp/lib/Mime/Viewer/Plain.php +++ b/imp/lib/Mime/Viewer/Plain.php @@ -218,7 +218,7 @@ class IMP_Horde_Mime_Viewer_Plain extends Horde_Mime_Viewer_Plain $part2 = new Horde_Mime_Part(); $part2->setType('application/octet-stream'); - $part2->setContents($message_encrypt); + $part2->setContents(implode("\n", $val['data'])); $part2->setDisposition('inline'); $part->addPart($part1);