From 65bda1b07fd3799a36980f3bbd8f9716c8649bbe Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Sun, 8 Nov 2009 01:19:17 -0700 Subject: [PATCH] ws --- imp/lib/UI/Message.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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; -- 2.11.0