From 8abd0086df2ceeccdb9441001abe661bfd7884f1 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 20 Nov 2008 14:18:45 -0700 Subject: [PATCH] Need to build message data here. --- imp/lib/Contents.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Contents.php b/imp/lib/Contents.php index 0fc1fa4d1..8e9ade4f7 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -265,9 +265,9 @@ class IMP_Contents */ public function &getMIMEPart($id, $options = array()) { - $part = $this->_message->getPart($id); + $this->_buildMessage(); - // TODO: Do _buildMessage() here? + $part = $this->_message->getPart($id); if (!is_null($part) && empty($options['nocontents']) && -- 2.11.0