From 97994a71a797840717fd7f76eb91dc76b4d829f4 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 20 Nov 2008 13:49:59 -0700 Subject: [PATCH] Fix bitmask check. --- imp/lib/Contents.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/lib/Contents.php b/imp/lib/Contents.php index 77d7272ca..0fc1fa4d1 100644 --- a/imp/lib/Contents.php +++ b/imp/lib/Contents.php @@ -549,7 +549,7 @@ class IMP_Contents } /* Strip the Attachment? */ - if ($mask && self::SUMMARY_STRIP_LINK && + if (($mask & self::SUMMARY_STRIP_LINK) && !$this->isParent($id, 'message/rfc822')) { $url = Util::removeParameter(Horde::selfUrl(true), array('actionID', 'imapid', 'index')); $url = Util::addParameter($url, array('actionID' => 'strip_attachment', 'imapid' => $id, 'index' => $this->_index, 'message_token' => IMP::getRequestToken('imp.impcontents'))); -- 2.11.0