From f85575882b0de39b2dede5b89cd70bf5faa37c07 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 3 Dec 2008 05:14:53 -0700 Subject: [PATCH] Fix return value --- imp/lib/Mime/Viewer/partial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.11.0