projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9507132
)
Use Horde_Mime::isChild().
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 9 Nov 2009 20:29:13 +0000
(13:29 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 10 Nov 2009 04:56:03 +0000
(21:56 -0700)
imp/lib/UI/Message.php
patch
|
blob
|
history
diff --git
a/imp/lib/UI/Message.php
b/imp/lib/UI/Message.php
index
7810e84
..
9d845a6
100644
(file)
--- a/
imp/lib/UI/Message.php
+++ b/
imp/lib/UI/Message.php
@@
-532,10
+532,8
@@
class IMP_UI_Message
continue;
}
- while (count($wrap_ids)) {
- if (strpos(strval($id), strval(end($wrap_ids))) === 0) {
- break;
- }
+ while (count($wrap_ids) &&
+ !Horde_Mime::isChild(end($wrap_ids), $id)) {
array_pop($wrap_ids);
$msgtext .= '</div>';
}