From: Michael M Slusarz Date: Wed, 3 Dec 2008 12:14:53 +0000 (-0700) Subject: Fix return value X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f85575882b0de39b2dede5b89cd70bf5faa37c07;p=horde.git Fix return value --- diff --git a/imp/lib/Mime/Viewer/partial.php b/imp/lib/Mime/Viewer/partial.php index f26ee194a..d2380a113 100644 --- a/imp/lib/Mime/Viewer/partial.php +++ b/imp/lib/Mime/Viewer/partial.php @@ -57,7 +57,7 @@ class IMP_Horde_Mime_Viewer_partial extends Horde_Mime_Viewer_Driver $mime_part->setType('text/plain'); $mime_part->setCharset(NLS::getCharset()); $mime_part->setContents(sprintf(_("[Cannot display message - found only %s of %s parts of this message in the current mailbox.]"), count($indices), $total)); - return $mime_part; + return array($this->_mimepart->getMimeId() => $mime_part); } /* Get the contents of each of the parts. */