From: Michael M Slusarz Date: Thu, 13 Nov 2008 19:16:07 +0000 (-0700) Subject: Fix determination of related start MIME part. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bb99af0bcb7783ea82423550c7d3a3218c486f07;p=horde.git Fix determination of related start MIME part. --- diff --git a/imp/lib/Mime/Viewer/related.php b/imp/lib/Mime/Viewer/related.php index ef44ab21c..946396329 100644 --- 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