fixed problems with viewing messages ending with a )
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 22 Feb 2000 12:14:46 +0000 (12:14 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 22 Feb 2000 12:14:46 +0000 (12:14 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@235 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_messages.php

index adc170e..6244052 100755 (executable)
       return $header;
    }
 
       return $header;
    }
 
+
    /******************************************************************************
     **  Returns the body of a message.
     ******************************************************************************/
    /******************************************************************************
     **  Returns the body of a message.
     ******************************************************************************/
        
       $i = 0;
       $j = 0;
        
       $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++;
          }
             $bodytmp[$j] = $read[$i];
             $j++;
          }