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 adc170eab4f8e0aab9fb0e1a5c053e3a7af22c7f..62440523c41472b5b9a4eaf73117dd7cb6cfd5fc 100755 (executable)
       return $header;
    }
 
+
    /******************************************************************************
     **  Returns the body of a message.
     ******************************************************************************/
        
       $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++;
          }