From dc4446ba6d78baad39ea30792252103ceec5966c Mon Sep 17 00:00:00 2001 From: lkehresman Date: Tue, 22 Feb 2000 12:14:46 +0000 Subject: [PATCH] fixed problems with viewing messages ending with a ) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@235 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index adc170ea..62440523 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -267,6 +267,7 @@ return $header; } + /****************************************************************************** ** Returns the body of a message. ******************************************************************************/ @@ -276,8 +277,8 @@ $i = 0; $j = 0; - while ($i < count($read)) { - if ( ($i != 0) && ($i != count($read)-1) && ($i != count($read)) ) { + while ($i < count($read)-1) { + if ( ($i != 0) ) { $bodytmp[$j] = $read[$i]; $j++; } -- 2.25.1