From: Michael M Slusarz Date: Sun, 8 Nov 2009 08:19:17 +0000 (-0700) Subject: ws X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=65bda1b07fd3799a36980f3bbd8f9716c8649bbe;p=horde.git ws --- diff --git a/imp/lib/UI/Message.php b/imp/lib/UI/Message.php index a3574a1fd..48f27242d 100644 --- a/imp/lib/UI/Message.php +++ b/imp/lib/UI/Message.php @@ -532,13 +532,14 @@ class IMP_UI_Message continue; } - while (count($wrap_ids)) { - if (strpos(strval($id), strval(end($wrap_ids))) === 0) { - break; - } - array_pop($wrap_ids); - $msgtext .= ''; + while (count($wrap_ids)) { + if (strpos(strval($id), strval(end($wrap_ids))) === 0) { + break; } + array_pop($wrap_ids); + $msgtext .= ''; + } + if (!empty($info['wrap'])) { $msgtext .= '
'; $wrap_ids[] = $mime_id;