projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864360b
)
Fix determination of related start MIME part.
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 13 Nov 2008 19:16:07 +0000
(12:16 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 13 Nov 2008 19:16:07 +0000
(12:16 -0700)
imp/lib/Mime/Viewer/related.php
patch
|
blob
|
history
diff --git
a/imp/lib/Mime/Viewer/related.php
b/imp/lib/Mime/Viewer/related.php
index
ef44ab2
..
9463963
100644
(file)
--- a/
imp/lib/Mime/Viewer/related.php
+++ b/
imp/lib/Mime/Viewer/related.php
@@
-63,8
+63,7
@@
class IMP_Horde_Mime_Viewer_related extends Horde_Mime_Viewer_Driver
$id = $this->_mimepart->getContentTypeParameter('start');
if (is_null($id)) {
reset($ids);
- next($ids);
- $id = key($ids);
+ $id = next($ids);
}
/* Only display if the start part (normally text/html) can be