projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b236f5
)
Fix bitmask check.
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 20 Nov 2008 20:49:59 +0000
(13:49 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 20 Nov 2008 20:49:59 +0000
(13:49 -0700)
imp/lib/Contents.php
patch
|
blob
|
history
diff --git
a/imp/lib/Contents.php
b/imp/lib/Contents.php
index
77d7272
..
0fc1fa4
100644
(file)
--- 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')));